summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/gnokii')
-rw-r--r--app-mobilephone/gnokii/ChangeLog7
-rw-r--r--app-mobilephone/gnokii/Manifest12
-rw-r--r--app-mobilephone/gnokii/files/digest-gnokii-0.6.111
-rw-r--r--app-mobilephone/gnokii/gnokii-0.6.11.ebuild96
4 files changed, 105 insertions, 11 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog
index fc7f0097dfb0..b25c840ba7ae 100644
--- a/app-mobilephone/gnokii/ChangeLog
+++ b/app-mobilephone/gnokii/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-mobilephone/gnokii
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.32 2006/02/11 10:13:58 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.33 2006/02/25 14:58:50 mrness Exp $
+
+*gnokii-0.6.11 (25 Feb 2006)
+
+ 25 Feb 2006; Alin Nastac <mrness@gentoo.org> +gnokii-0.6.11.ebuild:
+ Version bump.
11 Feb 2006; Alin Nastac <mrness@gentoo.org> gnokii-0.6.10.ebuild:
Condition installation of desktop file by the X useflag (#122347).
diff --git a/app-mobilephone/gnokii/Manifest b/app-mobilephone/gnokii/Manifest
index f7ffabbb781b..a30c337f19e2 100644
--- a/app-mobilephone/gnokii/Manifest
+++ b/app-mobilephone/gnokii/Manifest
@@ -1,8 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 44ac833f6b9a95f4a25e8a795df9bb9c ChangeLog 8568
MD5 1ae951a2b197095da2c0d74c0067181f files/digest-gnokii-0.6.10 67
+MD5 6f4a2ffbab6005f657e4d06f568db72c files/digest-gnokii-0.6.11 67
MD5 c4cdcbc35ff57082908ea21d7aa1f9a3 files/digest-gnokii-0.6.7-r1 66
MD5 c4cdcbc35ff57082908ea21d7aa1f9a3 files/digest-gnokii-0.6.7-r2 66
MD5 95cfd5d1812300781f2310dc007ed33e files/digest-gnokii-0.6.8 66
@@ -11,14 +9,8 @@ MD5 face706c6d0985abc88c5ad34f39d3ee files/gnokii-0.6.8-smsd-glib2.patch 779
MD5 2f2f572bc05f2ee40468130dcdd7e946 files/gnokii-bindir.patch 461
MD5 135df3cf24c3041ccb20a5896482ed59 files/gnokii.desktop 260
MD5 a3a87873287c89dc910115ddea5cbd1d gnokii-0.6.10.ebuild 2264
+MD5 73039a839d2d2f1dd18dd71a0c12daf2 gnokii-0.6.11.ebuild 2327
MD5 cba9a4289ee030177175548bb071572d gnokii-0.6.7-r1.ebuild 2323
MD5 438e4d861c9041a0b860bf4791a20693 gnokii-0.6.7-r2.ebuild 2329
MD5 d8f6cfbab08d0644b83b55a2bea01c6e gnokii-0.6.8.ebuild 2328
MD5 01ec5e34cbf064fdf9a0862d481b01d9 metadata.xml 467
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFD7bj4jG8pv1lIUX4RAp5lAKCPZcpTt5F77RohcJtObJCVCJLiVwCfZAv0
-O1IIKESx7DCZfnTRQ6XVok4=
-=6iLY
------END PGP SIGNATURE-----
diff --git a/app-mobilephone/gnokii/files/digest-gnokii-0.6.11 b/app-mobilephone/gnokii/files/digest-gnokii-0.6.11
new file mode 100644
index 000000000000..2fc0cdfd9ee7
--- /dev/null
+++ b/app-mobilephone/gnokii/files/digest-gnokii-0.6.11
@@ -0,0 +1 @@
+MD5 b285544ed2e4c4ac984442eea912e8bf gnokii-0.6.11.tar.bz2 1516240
diff --git a/app-mobilephone/gnokii/gnokii-0.6.11.ebuild b/app-mobilephone/gnokii/gnokii-0.6.11.ebuild
new file mode 100644
index 000000000000..191a33d63f32
--- /dev/null
+++ b/app-mobilephone/gnokii/gnokii-0.6.11.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.11.ebuild,v 1.1 2006/02/25 14:58:50 mrness Exp $
+
+inherit eutils flag-o-matic linux-info
+
+DESCRIPTION="user space driver and tools for use with mobile phones"
+HOMEPAGE="http://www.gnokii.org/"
+SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls X bluetooth irda sms postgres mysql"
+
+RESTRICT="maketest" #test fails; maybe it will work in the future, but till then...
+
+RDEPEND="X? ( =x11-libs/gtk+-1.2* )
+ bluetooth? ( net-wireless/bluez-libs )
+ sms? ( >=dev-libs/glib-2
+ postgres? ( dev-db/postgresql )
+ mysql? ( dev-db/mysql )
+ )"
+DEPEND="${RDEPEND}
+ irda? ( virtual/os-headers )
+ nls? ( sys-devel/gettext )
+ sys-devel/autoconf"
+
+CONFIG_CHECK="UNIX98_PTYS"
+
+src_compile() {
+ append-ldflags $(bindnow-flags) #avoid QA notices
+
+ autoconf && econf \
+ $(use_enable nls) \
+ $(use_with X x) \
+ --disable-debug \
+ --disable-xdebug \
+ --disable-rlpdebug \
+ --enable-security \
+ --disable-unix98test \
+ || die "configure failed"
+
+ if use sms ; then
+ cd "${S}/smsd"
+
+ if use postgres; then
+ emake libpq.la || die "smsd make failed"
+ elif use mysql; then
+ emake libmysql.la || die "smsd make failed"
+ else
+ emake libfile.la || die "smsd make failed"
+ fi
+
+ cd "${S}"
+ fi
+
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+
+ insinto /etc
+ doins Docs/sample/gnokiirc
+ sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"
+
+ doman Docs/man/*
+ dodir "/usr/share/doc/${PF}"
+ cp -r Docs/sample "${D}/usr/share/doc/${PF}/sample"
+ cp -r Docs/protocol "${D}/usr/share/doc/${PF}/protocol"
+ rm -rf Docs/man Docs/sample Docs/protocol
+ dodoc Docs/*
+
+ # only one file needs suid root to make a psuedo device
+ fperms 4755 /usr/sbin/mgnokiidev
+
+ if use sms; then
+ cd "${S}/smsd"
+
+ einstall || die "smsd make install failed"
+
+ cd "${S}"
+ fi
+
+ if use X; then
+ insinto /usr/share/applications
+ doins xgnokii/xgnokii.desktop
+ fi
+}
+
+pkg_postinst() {
+ einfo "gnokii does not need it's own group anymore."
+ einfo "Make sure the user that runs gnokii has read/write access to the device"
+ einfo "which your phone is connected to. eg. chown <user> /dev/ttyS0"
+}