diff options
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/coldsync/coldsync-2.2.5-r1.ebuild | 47 | ||||
-rw-r--r-- | app-pda/coldsync/coldsync-3.0_pre4.ebuild | 58 |
2 files changed, 55 insertions, 50 deletions
diff --git a/app-pda/coldsync/coldsync-2.2.5-r1.ebuild b/app-pda/coldsync/coldsync-2.2.5-r1.ebuild index bd57b122cbec..aa8bca827a60 100644 --- a/app-pda/coldsync/coldsync-2.2.5-r1.ebuild +++ b/app-pda/coldsync/coldsync-2.2.5-r1.ebuild @@ -1,42 +1,41 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/coldsync/coldsync-2.2.5-r1.ebuild,v 1.9 2007/06/26 01:41:10 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/coldsync/coldsync-2.2.5-r1.ebuild,v 1.10 2011/02/10 15:06:25 ssuominen Exp $ +EAPI=2 inherit eutils DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations" -SRC_URI="http://www.coldsync.org/download/${P}.tar.gz" HOMEPAGE="http://www.coldsync.org/" +SRC_URI="http://www.coldsync.org/download/${P}.tar.gz" -SLOT="0" LICENSE="Artistic" +SLOT="0" KEYWORDS="~ppc sparc x86" IUSE="nls perl" -src_unpack() { - unpack ${A} - cd "${S}" - epatch ${FILESDIR}/coldsync-2.2.5-gcc3.diff - epatch ${FILESDIR}/coldsync-2.2.5-broken-c++.diff +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.2.5-gcc3.diff \ + "${FILESDIR}"/${PN}-2.2.5-broken-c++.diff } -src_compile() { - cd ${S} - econf $(use_with nls i18n) $(use_with perl) - make || die "couldn't make coldsync" +src_configure() { + econf \ + $(use_with nls i18n) \ + $(use_with perl) } src_install() { - make \ - PREFIX=${D}/usr \ - MANDIR=${D}/usr/share/man \ - SYSCONFDIR=${D}/etc \ - DATADIR=${D}/usr/share \ - INFODIR=${D}/usr/share/info \ - INSTALLMAN3DIR=${D}/usr/share/man/man3 \ - INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \ - INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \ - install || die "couldn't install coldsync" + emake \ + PREFIX="${D}"/usr \ + MANDIR="${D}"/usr/share/man \ + SYSCONFDIR="${D}"/etc \ + DATADIR="${D}"/usr/share \ + INFODIR="${D}"/usr/share/info \ + INSTALLMAN3DIR="${D}"/usr/share/man/man3 \ + INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \ + INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \ + install || die - dodoc AUTHORS Artistic ChangeLog HACKING INSTALL NEWS README TODO + dodoc AUTHORS ChangeLog HACKING NEWS README TODO } diff --git a/app-pda/coldsync/coldsync-3.0_pre4.ebuild b/app-pda/coldsync/coldsync-3.0_pre4.ebuild index 3cd9a5cc5374..d1aa08d9fc23 100644 --- a/app-pda/coldsync/coldsync-3.0_pre4.ebuild +++ b/app-pda/coldsync/coldsync-3.0_pre4.ebuild @@ -1,24 +1,28 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/coldsync/coldsync-3.0_pre4.ebuild,v 1.2 2009/07/27 10:12:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/coldsync/coldsync-3.0_pre4.ebuild,v 1.3 2011/02/10 15:06:25 ssuominen Exp $ + +EAPI=2 + +MY_PV=${PV/_/-} DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations" -MY_PV="${PV/_/-}" -SRC_URI="http://www.coldsync.org/download/coldsync-${MY_PV}.tar.gz" HOMEPAGE="http://www.coldsync.org/" +SRC_URI="http://www.coldsync.org/download/coldsync-${MY_PV}.tar.gz" -SLOT="0" LICENSE="Artistic" +SLOT="0" KEYWORDS="~x86 ~sparc ~ppc" IUSE="nls perl usb caps" -DEPEND="usb? ( >=dev-libs/libusb-0.1.10a ) - perl? ( dev-lang/perl ) - caps? ( sys-libs/libcap )" +RDEPEND="usb? ( virtual/libusb:0 ) + perl? ( dev-lang/perl ) + caps? ( sys-libs/libcap )" +DEPEND="${RDEPEND}" S=${WORKDIR}/${PN}-${MY_PV} -src_compile() { +src_configure() { local myconf #use nls || myconf="${myconf} --without-i18n" #use perl || myconf="${myconf} --without-perl" @@ -28,25 +32,27 @@ src_compile() { myconf="${myconf} `use_with usb libusb`" myconf="${myconf} `use_with caps capabilities`" - econf ${myconf} || die "configuring coldsync failed" + econf ${myconf} +} - # bug #279292 - emake -j1 || die "couldn't make coldsync" +src_compile() { + emake -j1 || die #279292 } src_install() { - make \ - PREFIX=${D}/usr \ - MANDIR=${D}/usr/share/man \ - SYSCONFDIR=${D}/etc \ - DATADIR=${D}/usr/share \ - INFODIR=${D}/usr/share/info \ - INSTALLMAN3DIR=${D}/usr/share/man/man3 \ - INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \ - INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \ - EXTRA_INFOFILES="" \ - install || die "couldn't install coldsync" - use perl && rm -f ${D}/usr/lib/perl5/*/*/perllocal.pod - - dodoc AUTHORS Artistic ChangeLog HACKING INSTALL NEWS README TODO + emake \ + PREFIX="${D}"/usr \ + MANDIR="${D}"/usr/share/man \ + SYSCONFDIR="${D}"/etc \ + DATADIR="${D}"/usr/share \ + INFODIR="${D}"/usr/share/info \ + INSTALLMAN3DIR="${D}"/usr/share/man/man3 \ + INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \ + INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \ + EXTRA_INFOFILES="" \ + install || die + + use perl && rm -f "${D}"/usr/lib/perl5/*/*/perllocal.pod + + dodoc AUTHORS ChangeLog HACKING NEWS README TODO } |