diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-08-30 09:12:14 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-08-30 09:12:14 +0000 |
commit | c914e2f3c41d2728d0636ffa0cda31ff2f105453 (patch) | |
tree | e192185c9aacce9480da8dac6ffe53a8781a13e6 /app-pda/jpilot/jpilot-0.99.2-r1.ebuild | |
parent | moving dev-libs/coldsync to app-pda/coldsync (diff) | |
download | gentoo-2-c914e2f3c41d2728d0636ffa0cda31ff2f105453.tar.gz gentoo-2-c914e2f3c41d2728d0636ffa0cda31ff2f105453.tar.bz2 gentoo-2-c914e2f3c41d2728d0636ffa0cda31ff2f105453.zip |
moving app-misc/jpilot to app-pda/jpilot
Diffstat (limited to 'app-pda/jpilot/jpilot-0.99.2-r1.ebuild')
-rw-r--r-- | app-pda/jpilot/jpilot-0.99.2-r1.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-pda/jpilot/jpilot-0.99.2-r1.ebuild b/app-pda/jpilot/jpilot-0.99.2-r1.ebuild new file mode 100644 index 000000000000..8c5544243b1a --- /dev/null +++ b/app-pda/jpilot/jpilot-0.99.2-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/jpilot/jpilot-0.99.2-r1.ebuild,v 1.1 2003/08/30 09:12:05 liquidx Exp $ + +IUSE="nls" + +SYNCMAL="0.71" +MALSYNC="2.0.7" +DESCRIPTION="Desktop Organizer Software for the Palm Pilot" +SRC_URI="http://jpilot.org/${P}.tar.gz + http://www.tomw.org/malsync/malsync_${MALSYNC}.src.tar.gz + http://jasonday.home.att.net/code/syncmal/jpilot-syncmal_${SYNCMAL}.tar.gz" +HOMEPAGE="http://jpilot.org/" + +# In order to use the malsync plugin you'll need to refer to the homepage +# for jpilot-syncmal http://jasonday.home.att.net/code/syncmal/ +# And you'll also need an avangto account. + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc" + +DEPEND="=x11-libs/gtk+-1.2* + >=dev-libs/pilot-link-0.9.5" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + unpack jpilot-syncmal_${SYNCMAL}.tar.gz + cd ${S}/jpilot-syncmal_${SYNCMAL} + unpack malsync_${MALSYNC}.src.tar.gz +} + +src_compile() { + use nls || NLS_OPTION="--disable-nls" + econf ${NLS_OPTION} || die + + # make sure we use $CFLAGS + mv Makefile Makefile.old + sed -e "s:-g -O2:${CFLAGS}:" Makefile.old > Makefile + emake || die + + # build malsync plugin + cd ${S}/jpilot-syncmal_${SYNCMAL} + econf + emake || die +} + +src_install() { + # work around for broken Makefile + dodir /usr/bin + + einstall || die + + insinto /usr/lib/jpilot/plugins + doins jpilot-syncmal_${SYNCMAL}/.libs/libsyncmal.so + + dodoc README TODO UPGRADING ABOUT-NLS BUGS CHANGELOG COPYING \ + CREDITS INSTALL + doman docs/*.1 + + newdoc jpilot-syncmal_${SYNCMAL}/ChangeLog ChangeLog.jpilot-syncmal + newdoc jpilot-syncmal_${SYNCMAL}/README README.jpilot-syncmal + dodoc jpilot-syncmal_${SYNCMAL}/malsync/Doc/README_AvantGo + dodoc jpilot-syncmal_${SYNCMAL}/malsync/Doc/README_malsync +} |