summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/plptools')
-rw-r--r--app-pda/plptools/Manifest6
-rw-r--r--app-pda/plptools/files/digest-plptools-0.121
-rw-r--r--app-pda/plptools/files/plptools-0.12-gentoo.patch12
-rw-r--r--app-pda/plptools/plptools-0.11-r1.ebuild4
-rw-r--r--app-pda/plptools/plptools-0.11.ebuild4
-rw-r--r--app-pda/plptools/plptools-0.12.ebuild44
6 files changed, 64 insertions, 7 deletions
diff --git a/app-pda/plptools/Manifest b/app-pda/plptools/Manifest
index ee8bdb082525..f28c6f2893bb 100644
--- a/app-pda/plptools/Manifest
+++ b/app-pda/plptools/Manifest
@@ -1,6 +1,6 @@
-MD5 c45378747c87ae726dac96186282ebbb plptools-0.12.ebuild 908
-MD5 61d0ac3193da2b3aacba8babbd0ceb0d plptools-0.11-r1.ebuild 877
-MD5 fa9127c1dffe320ca7a447ba7b6c6ec7 plptools-0.11.ebuild 874
+MD5 a506c505625bab9a81bfc1d4b736670b plptools-0.12.ebuild 1005
+MD5 669deea88035ef740003201a0d549d9e plptools-0.11-r1.ebuild 876
+MD5 af11a105c81c277baa8794f5f31922ac plptools-0.11.ebuild 873
MD5 9cb458f36e0dfea16ec3ac9e24e4382d ChangeLog 875
MD5 8f1a395f7ca3054f5cd79687dbda0881 metadata.xml 216
MD5 b3ce73e6781d2293d40d0048fcb48c84 files/plptools-0.11-gentoo.patch 516
diff --git a/app-pda/plptools/files/digest-plptools-0.12 b/app-pda/plptools/files/digest-plptools-0.12
new file mode 100644
index 000000000000..cd8ef42e94fb
--- /dev/null
+++ b/app-pda/plptools/files/digest-plptools-0.12
@@ -0,0 +1 @@
+MD5 51738b3bd747a1c637cf333a8caf9292 plptools-0.12.tar.gz 989591
diff --git a/app-pda/plptools/files/plptools-0.12-gentoo.patch b/app-pda/plptools/files/plptools-0.12-gentoo.patch
new file mode 100644
index 000000000000..21db60256314
--- /dev/null
+++ b/app-pda/plptools/files/plptools-0.12-gentoo.patch
@@ -0,0 +1,12 @@
+diff -urN plptools-0.12/lib/psitime.cc plptools-0.12-new/lib/psitime.cc
+--- plptools-0.12/lib/psitime.cc 2003-07-24 01:18:03.000000000 -0700
++++ plptools-0.12-new/lib/psitime.cc 2003-07-24 01:18:26.000000000 -0700
+@@ -63,7 +63,7 @@
+ psi2unix();
+ }
+
+-PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz = 0L) {
++PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz) {
+ if (_utv != 0L)
+ utv = *_utv;
+ if (_utz != 0L)
diff --git a/app-pda/plptools/plptools-0.11-r1.ebuild b/app-pda/plptools/plptools-0.11-r1.ebuild
index cf1856b73dbc..4a1fb4099a39 100644
--- a/app-pda/plptools/plptools-0.11-r1.ebuild
+++ b/app-pda/plptools/plptools-0.11-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.11-r1.ebuild,v 1.4 2003/09/21 12:18:05 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.11-r1.ebuild,v 1.5 2004/01/11 01:30:59 tad Exp $
DESCRIPTION="Libraries and utilities to communicate with a Psion palmtop via serial."
HOMEPAGE="http://plptools.sourceforge.net"
diff --git a/app-pda/plptools/plptools-0.11.ebuild b/app-pda/plptools/plptools-0.11.ebuild
index c358c7605caf..e1295cfda90b 100644
--- a/app-pda/plptools/plptools-0.11.ebuild
+++ b/app-pda/plptools/plptools-0.11.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.11.ebuild,v 1.6 2003/09/21 12:18:05 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.11.ebuild,v 1.7 2004/01/11 01:30:59 tad Exp $
DESCRIPTION="Libraries and utilities to communicate with a Psion palmtop via serial."
HOMEPAGE="http://plptools.sourceforge.net"
diff --git a/app-pda/plptools/plptools-0.12.ebuild b/app-pda/plptools/plptools-0.12.ebuild
new file mode 100644
index 000000000000..42e0dc2c77bd
--- /dev/null
+++ b/app-pda/plptools/plptools-0.12.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.12.ebuild,v 1.1 2004/01/11 01:30:59 tad Exp $
+
+DESCRIPTION="Libraries and utilities to communicate with a Psion palmtop via serial."
+HOMEPAGE="http://plptools.sourceforge.net"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/plptools/${P}.tar.gz"
+LICENSE="as-is"
+
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="virtual/glibc
+ kde? ( >=kde-base/kdelibs-3.1* )"
+
+S="${WORKDIR}/${P}"
+IUSE="kde"
+
+src_compile() {
+ patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die "Patch failed!"
+
+ local myconf
+
+ if use kde
+ then
+ myconf="${myconf} --enable-kde"
+ else
+ myconf="${myconf} --disable-kde"
+ fi
+
+ ./configure ${myconf} --prefix=/usr || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES README TODO
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/psion.conf psion
+
+ exeinto /etc/init.d
+ doexe ${FILESDIR}/psion
+}