summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-07-08 10:38:30 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-07-08 10:38:30 +0000
commitf77f10cf0c7114954a55ea60127221972f1181f2 (patch)
tree3b580ae6348af5968642a77beb01eba0dcc07cfd /app-pda/jpilot/jpilot-0.99.8_pre9.ebuild
parentfix FindBin patch, remove old versions (diff)
downloadhistorical-f77f10cf0c7114954a55ea60127221972f1181f2.tar.gz
historical-f77f10cf0c7114954a55ea60127221972f1181f2.tar.bz2
historical-f77f10cf0c7114954a55ea60127221972f1181f2.zip
version bump. (#88811)
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-pda/jpilot/jpilot-0.99.8_pre9.ebuild')
-rw-r--r--app-pda/jpilot/jpilot-0.99.8_pre9.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-pda/jpilot/jpilot-0.99.8_pre9.ebuild b/app-pda/jpilot/jpilot-0.99.8_pre9.ebuild
new file mode 100644
index 000000000000..c1c8b924b983
--- /dev/null
+++ b/app-pda/jpilot/jpilot-0.99.8_pre9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/jpilot/jpilot-0.99.8_pre9.ebuild,v 1.1 2005/07/08 10:38:30 liquidx Exp $
+
+inherit eutils
+
+MY_PV=${PV/_/-}
+DESCRIPTION="Desktop Organizer Software for the Palm Pilot"
+HOMEPAGE="http://jpilot.org/"
+#SRC_URI="http://jpilot.org/${P}.tar.gz"
+SRC_URI="http://ludovic.rousseau.free.fr/softwares/jpilot/jpilot-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="nls gtk2"
+
+RDEPEND="gtk2? ( >=x11-libs/gtk+-2 )
+ !gtk2? ( >=x11-libs/gtk+-1.2 )
+ >=app-pda/pilot-link-0.11.5"
+DEPEND="${RDEPEND}
+ gtk2? ( dev-util/pkgconfig )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} || die
+ # There are four icons available. Use the third.
+ sed -i 's/jpilot.xpm/jpilot-icon3.xpm/' jpilot.desktop || die
+}
+
+src_compile() {
+ econf $(use_enable gtk2) $(use_enable nls) || die "configure failed"
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} \
+ docdir=/usr/share/doc/${PF} \
+ icondir=/usr/share/pixmaps \
+ desktopdir=/usr/share/applications || die "install failed"
+
+ dodoc README TODO UPGRADING ABOUT-NLS BUGS ChangeLog COPYING INSTALL
+ doman docs/*.1
+
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+ doins ${S}/jpilotrc.*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The jpilot-syncmal plugin has moved to its own ebuild."
+ einfo "If you want to use that plugin, please run"
+ einfo " emerge jpilot-syncmal"
+ einfo
+ einfo "There are other plugins available as well. To see the"
+ einfo "list, please run"
+ einfo " emerge -s jpilot"
+ einfo
+}