diff options
author | Graham Forest <vladimir@gentoo.org> | 2003-03-20 13:32:44 +0000 |
---|---|---|
committer | Graham Forest <vladimir@gentoo.org> | 2003-03-20 13:32:44 +0000 |
commit | 87db9a913c9d3478daf98856ca163483537a136b (patch) | |
tree | d4d47a28fd2e8c167469b048ad4c41ada8b04d92 /dev-libs/pilot-link | |
parent | removed pic nonsense (diff) | |
download | gentoo-2-87db9a913c9d3478daf98856ca163483537a136b.tar.gz gentoo-2-87db9a913c9d3478daf98856ca163483537a136b.tar.bz2 gentoo-2-87db9a913c9d3478daf98856ca163483537a136b.zip |
Removed usage of pic USE flag
Diffstat (limited to 'dev-libs/pilot-link')
-rw-r--r-- | dev-libs/pilot-link/ChangeLog | 14 | ||||
-rw-r--r-- | dev-libs/pilot-link/files/digest-pilot-link-0.11.5-r2 | 1 | ||||
-rw-r--r-- | dev-libs/pilot-link/files/digest-pilot-link-0.11.7-r1 | 1 | ||||
-rw-r--r-- | dev-libs/pilot-link/pilot-link-0.11.5-r2.ebuild | 98 | ||||
-rw-r--r-- | dev-libs/pilot-link/pilot-link-0.11.7-r1.ebuild | 70 |
5 files changed, 183 insertions, 1 deletions
diff --git a/dev-libs/pilot-link/ChangeLog b/dev-libs/pilot-link/ChangeLog index 058e90b45846..fd1c836d4a2f 100644 --- a/dev-libs/pilot-link/ChangeLog +++ b/dev-libs/pilot-link/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for dev-libs/pilot-link # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/ChangeLog,v 1.15 2003/02/12 06:08:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/ChangeLog,v 1.16 2003/03/20 13:32:44 vladimir Exp $ + +*pilot-link-0.11.5-r2 (20 Mar 2003) + + 20 Mar 2003; Graham Forest <vladimir@gentoo.org> + 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 <vladimir@gentoo.org> + pilot-link-0.11.7-r1.ebuild: + Removed usage of pic USE flag *pilot-link-0.11.7 (16 Jan 2003) diff --git a/dev-libs/pilot-link/files/digest-pilot-link-0.11.5-r2 b/dev-libs/pilot-link/files/digest-pilot-link-0.11.5-r2 new file mode 100644 index 000000000000..9e6b741ec15a --- /dev/null +++ b/dev-libs/pilot-link/files/digest-pilot-link-0.11.5-r2 @@ -0,0 +1 @@ +MD5 f7e9d73959d9e1d998837e93d03c58e7 pilot-link-0.11.5.tar.bz2 635370 diff --git a/dev-libs/pilot-link/files/digest-pilot-link-0.11.7-r1 b/dev-libs/pilot-link/files/digest-pilot-link-0.11.7-r1 new file mode 100644 index 000000000000..00219f911363 --- /dev/null +++ b/dev-libs/pilot-link/files/digest-pilot-link-0.11.7-r1 @@ -0,0 +1 @@ +MD5 7d06c1101707125b1e385dbd3cd7ce91 pilot-link-0.11.7.tar.bz2 669470 diff --git a/dev-libs/pilot-link/pilot-link-0.11.5-r2.ebuild b/dev-libs/pilot-link/pilot-link-0.11.5-r2.ebuild new file mode 100644 index 000000000000..b892e08ce52b --- /dev/null +++ b/dev-libs/pilot-link/pilot-link-0.11.5-r2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/pilot-link-0.11.5-r2.ebuild,v 1.1 2003/03/20 13:32:44 vladimir Exp $ + +inherit perl-module + +DESCRIPTION="suite of tools for moving data between a Palm device and a desktop" + +SRC_URI="http://pilot-link.org/source/${P}.tar.bz2" +HOMEPAGE="http://www.pilot-link.org/" + +SLOT="0" +LICENSE="GPL-2 | LGPL-2" +KEYWORDS="x86 ~ppc ~sparc " +IUSE="perl java tcltk python png readline" + +DEPEND="virtual/glibc + sys-libs/ncurses + perl? ( dev-lang/perl ) + java? ( virtual/jre ) + tcltk? ( dev-lang/tcl dev-tcltk/itcl dev-lang/tk ) + python? ( dev-lang/python ) + png? ( media-libs/libpng ) + readline? ( sys-libs/readline )" + +src_compile() { +# Fix up perl bindings to install the "Gentoo" way +# http://gnu-designs.com/bugs/view_bug_page.php?f_id=259 + use perl && patch -p1 < ${FILESDIR}/perlpatch.diff + + local myconf="--with-gnu-ld --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 tcltk \ + && myconf="${myconf} --with-tcl=yes --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" + +# make configure script: +# - look for ncurses rather than termcap +# http://gnu-designs.com/bugs/view_bug_page.php?f_id=381 +# - link png check with more libraries +# http://gnu-designs.com/bugs/view_bug_page.php?f_id=380 + cp configure configure.old + sed -e 's:-ltermcap:-lncurses:' \ + -e 's:-lpng:-lpng -lz -lstdc++:' \ + configure.old > configure + +# fix pilot-debug.c +# http://gnu-designs.com/bugs/view_bug_page.php?f_id=129 + cp src/pilot-debug.c src/pilot-debug.c.old + sed -e 's:TCL_MINOR_VERSION <4:TCL_MINOR_VERSION <3:' \ + src/pilot-debug.c.old > src/pilot-debug.c + + econf ${myconf} + +# so python doesnt violate sandbox +# http://gnu-designs.com/bugs/view_bug_page.php?f_id=382 + cp bindings/Makefile bindings/Makefile.old + sed -e 's:--prefix=$(prefix):--prefix=$(prefix) --root=$(DESTDIR):' \ + bindings/Makefile.old > bindings/Makefile + +# 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 +} diff --git a/dev-libs/pilot-link/pilot-link-0.11.7-r1.ebuild b/dev-libs/pilot-link/pilot-link-0.11.7-r1.ebuild new file mode 100644 index 000000000000..4d83bd750820 --- /dev/null +++ b/dev-libs/pilot-link/pilot-link-0.11.7-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/pilot-link-0.11.7-r1.ebuild,v 1.1 2003/03/20 13:32:44 vladimir Exp $ + +inherit perl-module + +DESCRIPTION="suite of tools for moving data between a Palm device and a desktop" +SRC_URI="http://pilot-link.org/source/${P}.tar.bz2" +HOMEPAGE="http://www.pilot-link.org/" + +SLOT="0" +LICENSE="GPL-2 | LGPL-2" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="perl java tcltk python png readline" + +DEPEND="virtual/glibc + sys-libs/ncurses + perl? ( dev-lang/perl ) + java? ( virtual/jre ) + tcltk? ( dev-lang/tcl dev-tcltk/itcl dev-lang/tk ) + python? ( dev-lang/python ) + png? ( media-libs/libpng ) + readline? ( sys-libs/readline )" + +src_compile() { + local myconf="--with-gnu-ld --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 tcltk \ + && myconf="${myconf} --with-tcl=yes --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 +} |