Portage is a package management system used by Gentoo Linux
# ChangeLog for app-pda/pilot-link
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.42 2008/07/27 13:57:36 loki_val Exp $
27 Jul 2008; Peter Alfredsen
+files/pilot-link-0.11.8-gcc43.patch, pilot-link-0.11.8.ebuild,
pilot-link-0.11.8-r1.ebuild:
Fix for gcc-4.3 bug #227269.
15 May 2008; Markus Rothe
Stable on ppc64; bug #221063
08 Mar 2008; Petteri Räty
-pilot-link-0.12.2.ebuild:
Remove old version.
17 Feb 2008; Gilles Dartiguelongue
+files/pilot-link-0.12.3-distutils.patch, pilot-link-0.12.3.ebuild:
fix python/distutils eclass use, bug #207667
31 Jan 2008; Brent Baude
Marking pilot-link-0.12.3 ppc for bug 207634
30 Jan 2008; Christian Faulhammer
pilot-link-0.12.3.ebuild:
stable x86, bug 207634
29 Jan 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #207634
29 Jan 2008; Brent Baude
Marking pilot-link-0.12.3 ~ppc64 for bug 207634
28 Jan 2008; Wulf C. Krueger
pilot-link-0.12.3.ebuild:
Marked stable on amd64 as per bug 207634.
22 Dec 2007; Wulf C. Krueger
files/pilot-link-0.12.3-int_types.patch:
Fixed the patch which was auto-broken by our beloved CVS. Fixes bug 202985.
20 Dec 2007; Wulf C. Krueger
+files/pilot-link-0.12.3-int_types.patch, pilot-link-0.12.3.ebuild:
Added an upstream patch to fix 64-bit issues causing problems in some
applications using pilot-link (e. g. jpilot, bug 87842). Disabled parallel
make for now as it's badly broken (bug 202857).
*pilot-link-0.12.3 (19 Dec 2007)
19 Dec 2007; Wulf C. Krueger
+files/pilot-link-0.12.3-java-install.patch,
+files/pilot-link-0.12.3-png.patch, +pilot-link-0.12.3.ebuild:
Version bump as per bug 202383.
07 Oct 2007; Wulf C. Krueger
+files/pilot-link-0.12.2-werror_194921.patch, pilot-link-0.11.8.ebuild,
pilot-link-0.11.8-r1.ebuild, pilot-link-0.12.2.ebuild:
Added a patch to correct upstream's broken check for Werror and disabled it
explicitly. Fixes bug 194921. Fixed several quoting issues and other minor
QA stuff.
18 Sep 2007; Wulf C. Krueger
+files/pilot-link-0.11.8-missing-include.patch,
pilot-link-0.11.8-r1.ebuild:
Added a minimal patch to fix QA bug 162209.
*pilot-link-0.12.2 (25 Aug 2007)
25 Aug 2007; Wulf C. Krueger
+files/pilot-link-0.12.2-bluez.patch,
+files/pilot-link-0.12.2-java-compile.patch,
+files/pilot-link-0.12.2-java-install.patch,
+files/pilot-link-0.12.2-m4.patch, +files/pilot-link-0.12.2-png.patch,
+files/pilot-link-0.12.2-readline.patch,
+files/pilot-link-0.12.2-threads.patch, +pilot-link-0.12.2.ebuild:
Version bump to 0.12.2. Temporarily package.mask'ed to allow for further
testing.
11 Jan 2007; Gustavo Zacarias
pilot-link-0.11.8-r1.ebuild:
Stable on sparc
28 Nov 2006; Piotr Jaroszyński
pilot-link-0.11.8.ebuild, pilot-link-0.11.8-r1.ebuild:
Change useflag: tcltk -> tk, bug #17808.
16 Sep 2006; Tobias Scherbaum
pilot-link-0.11.8-r1.ebuild:
ppc stable
07 Feb 2006; Aron Griffis
pilot-link-0.11.8-r1.ebuild:
Mark 0.11.8-r1 stable on alpha
06 Feb 2006; Aron Griffis
pilot-link-0.11.8-r1.ebuild:
Mark 0.11.8-r1 stable on ia64
06 Dec 2005; Luis Medinas
pilot-link-0.11.8-r1.ebuild:
Stable on amd64 to fix build on amd64. Closes bug #113470.
03 Nov 2005; Alastair Tse
pilot-link-0.11.8-r1.ebuild:
removed --with-gnu-ld (#108386)
08 Jul 2005; Alastair Tse
-files/pilot-link-0.11.8-fPIC.patch,
+files/pilot-link-0.11.8-java_fPIC_fix.patch,
files/pilot-link-0.11.8-java_install_amd64.patch, -files/perlpatch.diff,
-pilot-link-0.11.3.ebuild, -pilot-link-0.11.5-r2.ebuild,
-pilot-link-0.11.7-r1.ebuild, pilot-link-0.11.8-r1.ebuild:
another attempt at fixing java support for amd64. patches thanks to Philipp
Weinfurter (#87774)
27 Jan 2005; Alastair Tse
fix missing patch while doing housecleaning (#79682)
26 Jan 2005; Alastair Tse
+files/pilot-link-0.11.8-java_compile_amd64.patch,
+files/pilot-link-0.11.8-java_install_all.patch,
+files/pilot-link-0.11.8-java_install_amd64.patch,
+files/pilot-link-0.11.8-java_install_ppc.patch,
-files/pilot-link-0.11.8-javapath.patch,
-files/pilot-link-0.11.8-javappc.patch, pilot-link-0.11.8-r1.ebuild:
added/reorganised patches from ppc/amd64 on java bindings compilation (bug
#66087)
27 Nov 2004; Simon Stelling
+files/pilot-link-0.11.8-fPIC.patch, pilot-link-0.11.8-r1.ebuild:
fixed bug #63024 with Christian (tmgisi@gmx.at) Aistleitner's patch
30 Sep 2004; Alastair Tse
+files/pilot-link-0.11.8-netsync.patch, pilot-link-0.11.8-r1.ebuild:
add net sync patch (#62873)
*pilot-link-0.11.8-r1 (23 Sep 2004)
23 Sep 2004;
+pilot-link-0.11.8-r1.ebuild:
changed the java compilation for ppc
01 Jul 2004; Jeremy Huddleston
pilot-link-0.11.3.ebuild, pilot-link-0.11.5-r2.ebuild,
pilot-link-0.11.7-r1.ebuild, pilot-link-0.11.8.ebuild:
virtual/glibc -> virtual/libc
02 Jun 2004; Aron Griffis
pilot-link-0.11.5-r2.ebuild, pilot-link-0.11.7-r1.ebuild,
pilot-link-0.11.8.ebuild:
Fix use invocation
25 Apr 2004; Aron Griffis
Add die following econf for bug 48950
14 Dec 2003; Lars Weiler
Make stable on ppc
21 Nov 2003; Jason Wever
Marked stable on sparc.
26 Oct 2003; Brad House
add amd64 flag
16 Sep 2003; Jason Wever
Marked stable for sparc.
09 Sep 2003; Aron Griffis
Stable on alpha
*pilot-link-0.11.8 (02 Sep 2003)
02 Sep 2003; Alastair Tse
files/pilot-link-0.11.8-javapath.patch:
version bump and added javainstallation patch
*pilot-link-0.11.7-r1 (30 Aug 2003)
30 Aug 2003; Alastair Tse
pilot-link-0.11.5-r2.ebuild, pilot-link-0.11.7-r1.ebuild,
files/perlpatch.diff:
moving dev-libs/pilot-link to app-pda/pilot-link
08 Jul 2003; Aron Griffis
Add ~alpha to KEYWORDS
27 May 2003; Jason Wever
Changed ~sparc keyword to sparc.
16 May 2003; Lars Weiler
Set ppc in KEYWORDS
*pilot-link-0.11.5-r2 (20 Mar 2003)
20 Mar 2003; Graham Forest
pilot-link-0.11.5-r2.ebuild, pilot-link-0.11.7-r1.ebuild:
Removed usage of pic USE flag
*pilot-link-0.11.7-r1 (20 Mar 2003)
20 Mar 2003; Graham Forest
pilot-link-0.11.7-r1.ebuild:
Removed usage of pic USE flag
*pilot-link-0.11.7 (16 Jan 2003)
16 Jan 2003; Mike Frysinger
Version bump + remove all fixes since upstream added them for this
release (except for perl ... but its supposed to be in for 0.11.8).
*pilot-link-0.11.5-r1 (17 Nov 2002)
17 Nov 2002; Mike Frysinger
Huge thanks goes out to Nicholas Wourms
He sent me a patch to make the perl module compile/install via
perl-module eclass and pointed at emake as the reason java dies.
*pilot-link-0.11.5 (28 Oct 2002)
28 Oct 2002; Mike Frysinger
Version bump + added proper support for USE flags.
Disabled perl for now while upstream fixes problems.
*pilot-link-0.11.3 (08 Aug 2002)
6 Sep 2002; Owen Stampflee
Added PPC to KEYWORDS.
08 Aug 2002; Matthew Turk
Update to latest version, fixing numerous problems, particularly the numbering
of contact fields. Suggested recompile of all applications using this -
gnome-pilot, gnome-pilot-conduits, jpilot and evolution.
*pilot-link-0.11.1-r1 (30 Jul 2002)
30 Jul 2002; Dan Armak
Fix bug #5615 (headers installing into the filesystem root).
22 Jul 2002; Owen Stampflee
Added PPC to KEYWORDS.
*pilot-link-0.11.1 (21 Jul 2002)
21 Jul 2002; Seemant Kulleen
files/digest-pilot-link-0.11.1 :
Version bump.
*pilot-link-0.11.0 (14 Jul 2002)
14 Jul 2002; Seemant Kulleen
files/digest-pilot-link-0.11.0 :
Version bump to newest stable.
*pilot-link-0.10.99 (20 May 2002)
20 May 2002; Seemant Kulleen
pilot-link-0.10.99.ebuild files/digest-pilot-link-0.10.99 :
This is a developer release of pilot-link, but it works with a wider
variety of hardware. gnome-pilot had to be patched for it as well. the
new gnome-pilot and this are masked for the present.
06 Apr 2002; G.Bevin
C++ compliancy fixes for correct compilation with gcc3
*pilot-link-0.9.6-r3 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX pilot-link-0.11.8-gcc43.patch 315 RMD160 10883a1fc53afeeef25a98bd8a432f22c698eb94 SHA1 e61d5305141eea75cc8664a18a1f1daa615be7f9 SHA256 8672a1ddc8ef21d3b359d0148bbb3796929329f3dccfb33877313aa629ce08c1
AUX pilot-link-0.11.8-java_compile_amd64.patch 579 RMD160 7dba17a59a303154acbd640e78f9028b54de0507 SHA1 6903a1624d566733c7336735b3ddbc92c8610e6f SHA256 e2e6ce08665b39c4f945eae58c2554ad9f2bdbf13c8f19cc3cbf01f8f319bf07
AUX pilot-link-0.11.8-java_fPIC_fix.patch 580 RMD160 e6baf868f3474ee35f9de7f655c337d881e025e5 SHA1 85884951133dc58baccb3a9c0bb3e33f12b5ea73 SHA256 b6ebf250b977fa0dc33ed7c72bf9f0624a36b388cd0078159ff6c88f62c7df45
AUX pilot-link-0.11.8-java_install_all.patch 562 RMD160 e9d7db2998f14a02ba95df1807ca43a25561492b SHA1 402be9f0e0956e6e51f42d1306bdde51e5084cb5 SHA256 c2b8dd22d337ce0411103101deccabd1d4421ae239234bd8aa410a97cf6d5a1a
AUX pilot-link-0.11.8-java_install_amd64.patch 390 RMD160 81ce9ff10740eeb3805ae0c6ef2f6d0d36c5cd9e SHA1 ff023b2cdd0eec19e0167486d1abd28b9679d572 SHA256 674165c22743a66378d75b6aedff427851259578ade68aa52ddc9e834cb8b840
AUX pilot-link-0.11.8-java_install_ppc.patch 560 RMD160 4861489cc16ccaa87fed571d89c1cf83b45b93c8 SHA1 e9f5a0391b7e0754f99318ecfd1c1477eb030264 SHA256 dd0f40f0e13cf86290e44d8891103d2d55eef04f3eeb9ac0edbd5ad9afeb76da
AUX pilot-link-0.11.8-m4.patch 123 RMD160 7f7eead683cc8366139fedab512511b29c3a156a SHA1 5f1b708d9171ff3b4bcf35142a5b7dc9ac9f685c SHA256 cb23fecc34774bf84859658e93e248e15737783963c9f10f1b2a155b6079876f
AUX pilot-link-0.11.8-missing-include.patch 271 RMD160 9c133a5cbd621e6bb864087a42e8150b19a2822f SHA1 bd42398a226cdfcbafc25918c3cbc18e95b281df SHA256 09675b56ac4482febdf35a15cd1303918c652a5b526a820851f1eaad2a1e25d8
AUX pilot-link-0.11.8-netsync.patch 4371 RMD160 b5dc7a9fbce293551d0dd264b80ff98bade3dc5f SHA1 644a82de9a7bf899b7a46cc361de11b7c429c122 SHA256 5d64928b175e73c964b142c7a574d0e173633bb785f85b1468a83bf35d83ff5e
AUX pilot-link-0.12.2-bluez.patch 2081 RMD160 a1f04c12769099bc4c3a4523a01dd5b492e0f21e SHA1 a02d1fba5ce8da36f0770429ddfe716311589850 SHA256 78a06fe2dbac5b81bcb60e6d3145accde269513011a94c7568293b415fd0df2c
AUX pilot-link-0.12.2-java-compile.patch 1040 RMD160 4a3139dfeb622dfc03c726506e7adc1c6db08da0 SHA1 d197569f3732e07ab42e7c7b5d43591ea7bd0630 SHA256 172f85b81309c752c08e4c61977a65720d63b71bff9c4b10a2f44f608e71c7dc
AUX pilot-link-0.12.2-java-install.patch 829 RMD160 e79900b530838674679304d124417c906170e0ba SHA1 2bb68afa4c4cbdd9d810367fe2e6bba3a361bdc9 SHA256 4f8300bb195fed5b9ec7f567050ab6f2808bdfdd5898349e4bb494440dad3470
AUX pilot-link-0.12.2-m4.patch 249 RMD160 4ccd77fc9ab445e459a45bc542f9b06a88e4ae3a SHA1 48cf3e0e47a1680fc0593126c55f47b7840975b3 SHA256 34d9ce38e4bb9eaa748ecd24b34f58bafa1cb4c5f4f2603b350b25545e2f0f75
AUX pilot-link-0.12.2-png.patch 2315 RMD160 4b8eccad718d85941b0ec85cac52f8fca70d351b SHA1 6fe7a4b498b7dcdd24e2f0e87e9f0febf24d098c SHA256 603170b9c4fee59bc380c8ea5923bae3621562976ce74345b1eb80ec7d7aeea7
AUX pilot-link-0.12.2-readline.patch 1833 RMD160 f611873187e425064e1a26ce213e53a4ee194e5b SHA1 cf4094d418d3e4114156b0b73d13fafc56c2d551 SHA256 54e01146ed97e5c020454fae5bb8284f3127eaf10d7deb79b638880fddf28478
AUX pilot-link-0.12.2-threads.patch 711 RMD160 ec02e4300777b100ab51af6605028dee4b709db7 SHA1 3649f4955f18b2cf7e29651e3cb9140048601794 SHA256 985b15bdd25ee3a167048be62ddd43fe1d74482d6cb7802ffe04454d967ae293
AUX pilot-link-0.12.2-werror_194921.patch 810 RMD160 4268bebfc8a40c45ed70d571cbfb220abbb8bc9b SHA1 e0a8dfe2abbd6749e6774dff246ea2a8011aff89 SHA256 7e5e472e0c62fcaf5fe883928bd83402c848ac81ac50e61a571e6f64e7f21503
AUX pilot-link-0.12.3-distutils.patch 448 RMD160 aa89793bdea302d80ea8602bd8e60c5a809b5871 SHA1 ddb701d5e47614f8c1353a6eaa63fb2b7badbf75 SHA256 35b1cc89a0f88a70f5708b78656ae4730d4ddc5548aed07e0382056ade09d8e1
AUX pilot-link-0.12.3-int_types.patch 547 RMD160 28381f51c8d200fc65bcc9382cf06e7b1277991c SHA1 85385f31dab548e5d4549f0ee7983bdf3bc75f50 SHA256 903efdb98552f44ac0006f58b11631111b8634e1084d3122f15131af8b4c09bf
AUX pilot-link-0.12.3-java-install.patch 823 RMD160 e6999723dd9a71f95f56d704ba6a1f4f1de2e77c SHA1 4bb887091f18c44b3b344d309d673ef56f4096dd SHA256 60f6c9cd3a03adcef22e598f6d497f3095c1e702ac1d4fcac91e84affbc2fe8f
AUX pilot-link-0.12.3-png.patch 2166 RMD160 77fbe6b8923b37c7427d396e6b70a5fab702a1ea SHA1 05656782504d716f8bae485ef2dae3ad09f1ab15 SHA256 8f4781f1c88f374b03de28a2952eacdc0efd2d3f8d244b93b1c13cdf7293da42
DIST pilot-link-0.11.8.tar.bz2 649034 RMD160 c51c069810edff6c2e38e4c81f2daa959c902ad4 SHA1 645d4bc49dd4dc4793d13b6e04dd61f24c2bf717 SHA256 952a97df5d13d926f0d5ce487e15268b1400fa0e7c43ea9303fba92818cce1cb
DIST pilot-link-0.12.3.tar.bz2 960812 RMD160 938f367a38572d456b37e62ab0d309139b50403b SHA1 d459ec2626ee19367a5329e604e33b337ef37602 SHA256 f5ed3f1d70349ff5ef95e6d1aa5b2ea9ad4b4d720e7d83cacc1003a950d4c476
EBUILD pilot-link-0.11.8-r1.ebuild 2352 RMD160 6cf5e7c22d9170a9a73c3cdbeb44bea821f77e1e SHA1 822b82a957cba0502db6c5b128ee61cb718e0059 SHA256 4421ac75d75d013f726c5d3e84e202cf129c1e59204ccd50fc3b45ae5f0f0acc
EBUILD pilot-link-0.11.8.ebuild 1915 RMD160 675605c1533dbae7fa0717374f03e7660d3c8cd5 SHA1 013e6c03cf25bcdc2dd6411d251a414746219a8d SHA256 94c8849b2a388f1726c10834bfcbf62f160eaed29c044437884ac54a5f3b7638
EBUILD pilot-link-0.12.3.ebuild 3267 RMD160 980bfb08e1b86509317cc6f4ace0fc8c0681b818 SHA1 f4c4af129a17b6f6b9f4e393929aa18c1e0d5c29 SHA256 50cc8bd85a9328678420bdf6ed7ed78a4fd9a649776724b8c85b3dbd257f7188
MISC ChangeLog 10273 RMD160 a1c33ad382c12d462dbd92b4f4771347bc23c407 SHA1 1906c413e19e9d1305392d76230e16e7ffcd673d SHA256 bd2eb3791340d16d560ce0cc3b6f5817c0607dc5d0ca00ec6e731256555878de
MISC metadata.xml 156 RMD160 6a6d0f6bfe83e3a54c2d72444564ed6ab19857fe SHA1 5b9cb277159d763c133920e483df8d3d587cf7e2 SHA256 7f72b73f6e0d6e26603d85e52cca524711faddf6b516640104c3b82aab4754fb
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild,v 1.21 2008/07/27 13:57:36 loki_val Exp $
inherit perl-module eutils
DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
HOMEPAGE="http://www.pilot-link.org/"
SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc ~x86"
IUSE="perl java tk python png readline"
DEPEND="sys-libs/ncurses
perl? ( dev-lang/perl )
java? ( virtual/jre )
tk? ( dev-lang/tcl dev-tcltk/itcl dev-lang/tk )
python? ( dev-lang/python )
png? ( media-libs/libpng )
readline? ( sys-libs/readline )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-java_fPIC_fix.patch"
if use java; then
if use ppc; then
epatch "${FILESDIR}/${P}-java_install_ppc.patch"
elif use amd64; then
epatch "${FILESDIR}/${P}-java_install_amd64.patch"
else
epatch "${FILESDIR}/${P}-java_install_all.patch"
fi
fi
epatch "${FILESDIR}"/${P}-m4.patch
# fixes bug 162209
epatch "${FILESDIR}/${P}-missing-include.patch"
# bug 227269
epatch "${FILESDIR}/${P}-gcc43.patch"
# bug #62873
cd "${S}/libpisock"; epatch "${FILESDIR}/${P}-netsync.patch"
}
src_compile() {
local myconf="--includedir=/usr/include/libpisock"
use java \
&& myconf="${myconf} --with-java=yes" \
|| myconf="${myconf} --with-java=no"
use perl \
&& myconf="${myconf} --with-perl=yes" \
|| myconf="${myconf} --with-perl=no"
use python \
&& myconf="${myconf} --with-python=yes" \
|| myconf="${myconf} --with-python=no"
use tk \
&& myconf="${myconf} --with-tcl=/usr/lib --with-itcl=yes --with-tk=yes" \
|| myconf="${myconf} --with-tcl=no --with-itcl=no --with-tk=no"
use png && myconf="${myconf} --with-libpng=/usr"
use readline \
&& myconf="${myconf} --with-readline=yes" \
|| myconf="${myconf} --with-readline=no"
econf ${myconf} || die
# java fails w/emake
make || die
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_prep
perl-module_src_compile
fi
}
src_install() {
make DESTDIR="${D}" install || die
dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_install
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.11.8.ebuild,v 1.18 2008/07/27 13:57:36 loki_val Exp $
inherit perl-module eutils
DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
HOMEPAGE="http://www.pilot-link.org/"
SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
IUSE="perl java tk python png readline"
DEPEND="sys-libs/ncurses
perl? ( dev-lang/perl )
java? ( virtual/jre )
tk? ( dev-lang/tcl dev-tcltk/itcl dev-lang/tk )
python? ( dev-lang/python )
png? ( media-libs/libpng )
readline? ( sys-libs/readline )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-java_install_all.patch"
epatch "${FILESDIR}/${P}-gcc43.patch"
}
src_compile() {
local myconf="--includedir=/usr/include/libpisock"
use java \
&& myconf="${myconf} --with-java=yes" \
|| myconf="${myconf} --with-java=no"
use perl \
&& myconf="${myconf} --with-perl=yes" \
|| myconf="${myconf} --with-perl=no"
use python \
&& myconf="${myconf} --with-python=yes" \
|| myconf="${myconf} --with-python=no"
use tk \
&& myconf="${myconf} --with-tcl=/usr/lib --with-itcl=yes --with-tk=yes" \
|| myconf="${myconf} --with-tcl=no --with-itcl=no --with-tk=no"
use png && myconf="${myconf} --with-libpng=/usr"
use readline \
&& myconf="${myconf} --with-readline=yes" \
|| myconf="${myconf} --with-readline=no"
econf ${myconf} || die
# java fails w/emake
make || die
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_prep
perl-module_src_compile
fi
}
src_install() {
make DESTDIR="${D}" install || die
dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_install
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.3.ebuild,v 1.9 2008/05/15 14:36:00 corsair Exp $
inherit perl-module java-pkg-opt-2 eutils autotools distutils
DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
HOMEPAGE="http://www.pilot-link.org/"
SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
IUSE="perl java python png readline threads bluetooth usb debug"
BOTH_DEPEND="virtual/libiconv
>=sys-libs/ncurses-5.6-r1
>=dev-libs/popt-1.10.7
perl? ( >=dev-lang/perl-5.8.8-r2 )
python? ( >=dev-lang/python-2.4.4-r4 )
png? ( >=media-libs/libpng-1.2.18-r1 )
readline? ( >=sys-libs/readline-5.2_p4 )
usb? ( >=dev-libs/libusb-0.1.12 )
bluetooth? ( >=net-wireless/bluez-libs-3.10 )"
DEPEND="${BOTH_DEPEND}
java? ( >=virtual/jdk-1.4 )"
RDEPEND="${BOTH_DEPEND}
java? ( >=virtual/jre-1.4 )"
# Unfortunately, parallel compilation is badly broken. cf. bug 202857.
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
cd "${S}"
# Fixing some broken configure switches and automagic deps.
epatch "${FILESDIR}/${PN}-0.12.2-readline.patch"
epatch "${FILESDIR}/${PN}-0.12.2-threads.patch"
epatch "${FILESDIR}/${P}-png.patch"
# Upstream's check for Werror was wrong. Fixes bug 194921.
epatch "${FILESDIR}/${PN}-0.12.2-werror_194921.patch"
# We install the Java bindings using the eclass functions so we disable
# their installation here.
use java && epatch "${FILESDIR}/${P}-java-install.patch"
# We install the Python bindings using the eclass functions so we disable
# their makefile.am rules here
use python && epatch "${FILESDIR}/${P}-distutils.patch"
# Upstream patch to fix 64-bit issues.
epatch "${FILESDIR}/${P}-int_types.patch"
AT_M4DIR="m4" eautoreconf
}
src_compile() {
# tcl/tk support is disabled as per upstream request.
econf \
--includedir=/usr/include/libpisock \
--enable-conduits \
--with-tcl=no \
--without-included-popt \
--disable-compile-werror \
$(use_enable threads) \
$(use_enable usb libusb) \
$(use_enable debug) \
$(use_with png libpng $(libpng-config --prefix)) \
$(use_with bluetooth bluez) \
$(use_with readline) \
$(use_with perl) \
$(use_with java) \
$(use_with python) \
|| die "econf failed"
emake || die "emake failed"
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_prep
perl-module_src_compile
fi
if use python; then
cd "${S}/bindings/Python"
distutils_src_compile
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS || die "installing docs failed"
if use java ; then
cd "${S}/bindings/Java"
java-pkg_newjar ${PN}.jar
java-pkg_doso libjpisock.so
fi
if use perl ; then
cd "${S}/bindings/Perl"
perl-module_src_install
fi
if use python; then
cd "${S}/bindings/Python"
distutils_src_install
fi
}
pkg_postinst() {
if use python; then
python_version
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
fi
}
pkg_postrm() {
use python && distutils_pkg_postrm
}