diff options
author | Anant Narayanan <anant@gentoo.org> | 2007-07-05 19:29:31 +0000 |
---|---|---|
committer | Anant Narayanan <anant@gentoo.org> | 2007-07-05 19:29:31 +0000 |
commit | d78d7c7bc6c26578a3e3e4c34dbb0df37b485b17 (patch) | |
tree | 273aabc18dead6232aeba19ea1fdf70f723126ff /media-libs/pdflib | |
parent | Add PDFLite license (diff) | |
download | historical-d78d7c7bc6c26578a3e3e4c34dbb0df37b485b17.tar.gz historical-d78d7c7bc6c26578a3e3e4c34dbb0df37b485b17.tar.bz2 historical-d78d7c7bc6c26578a3e3e4c34dbb0df37b485b17.zip |
Update license and remove old ebuilds.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-libs/pdflib')
-rw-r--r-- | media-libs/pdflib/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/pdflib/Manifest | 49 | ||||
-rw-r--r-- | media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1 | 3 | ||||
-rw-r--r-- | media-libs/pdflib/files/digest-pdflib-6.0.3 | 3 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-5.0.4_p1-r1.ebuild | 116 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-6.0.3-r1.ebuild | 4 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-6.0.3.ebuild | 115 | ||||
-rw-r--r-- | media-libs/pdflib/pdflib-7.0.1.ebuild | 4 |
8 files changed, 22 insertions, 279 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index 56eae4102a84..f7696e14fb68 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/pdflib # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.70 2007/05/20 16:33:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.71 2007/07/05 19:29:31 anant Exp $ + + 06 Jul 2007; Anant Narayanan <anant@gentoo.org> + -pdflib-5.0.4_p1-r1.ebuild, -pdflib-6.0.3.ebuild, pdflib-6.0.3-r1.ebuild, + pdflib-7.0.1.ebuild: + Update license and remove old ebuild. 20 May 2007; nixnut <nixnut@gentoo.org> pdflib-6.0.3-r1.ebuild: Stable on ppc wrt bug 178185 diff --git a/media-libs/pdflib/Manifest b/media-libs/pdflib/Manifest index 7da672dfde75..c6e3e70fe0b8 100644 --- a/media-libs/pdflib/Manifest +++ b/media-libs/pdflib/Manifest @@ -1,53 +1,28 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX fix-java-compile.patch 547 RMD160 c5ebf24dadba624d35bd32b4c53bcc7916aad329 SHA1 f393eca4fdbc06cbadf0738968ba9262c0c5242d SHA256 9cf04367ca4e35f48f51b1d3b1454b60ff09d918b0a59246933cc1f4c88c5f83 MD5 e385cbb68956bcdc19f62f77d2803309 files/fix-java-compile.patch 547 RMD160 c5ebf24dadba624d35bd32b4c53bcc7916aad329 files/fix-java-compile.patch 547 SHA256 9cf04367ca4e35f48f51b1d3b1454b60ff09d918b0a59246933cc1f4c88c5f83 files/fix-java-compile.patch 547 -DIST PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309 RMD160 b184e1484d7e908d85a13f8ed7ef22b56154cc29 SHA1 0e2bbbb78e252fb96ba690fd1596911f540453a4 SHA256 7236c07aa80fdda79359ee89a05d4fdb5784a8a1788cdbc79197911cfa4dc422 DIST PDFlib-Lite-6.0.3.tar.gz 3763292 RMD160 c8d74b31f30156be0280865aaa9985883fba6c21 SHA1 93c5d78bdff142e873873967df8be49b70fe3c39 SHA256 7ebd0f907283800e757bf27b038e4f18786c16577f51a547e55da014f9f248ff DIST PDFlib-Lite-7.0.1.tar.gz 5350886 RMD160 b0d7431c07d96df484cd45980fcde9b7df2f200f SHA1 096f0b569695aab6fbf675f4eeb19b32d4e5e443 SHA256 61b79378f5138c83d7b87675e58d82880f9d408c6d1c504b3d617104471db87f -EBUILD pdflib-5.0.4_p1-r1.ebuild 3629 RMD160 718c0e0940df14365ea211346111c32d637a2af6 SHA1 4ab4831e06e4d284f7abb325338f2e0710b431c7 SHA256 973078486db140ec703d8bdb0c3cc57a95dfe9b3074a569f94447efb1080519d -MD5 a9a8f032df2897f34c281523a5d89b07 pdflib-5.0.4_p1-r1.ebuild 3629 -RMD160 718c0e0940df14365ea211346111c32d637a2af6 pdflib-5.0.4_p1-r1.ebuild 3629 -SHA256 973078486db140ec703d8bdb0c3cc57a95dfe9b3074a569f94447efb1080519d pdflib-5.0.4_p1-r1.ebuild 3629 -EBUILD pdflib-6.0.3-r1.ebuild 3552 RMD160 3c57196d994a26b952983b398853d1aa5ec2b28e SHA1 8861bfa9f6f589a76c32810bb32c387e505ae0db SHA256 2b82701cdf3fa4ca5f5e1ba9c7c7e2e3cf94e7f698f4ccd5fc5e31f45cc40c57 -MD5 a10eda082c3b07beaf4b7f7c410257aa pdflib-6.0.3-r1.ebuild 3552 -RMD160 3c57196d994a26b952983b398853d1aa5ec2b28e pdflib-6.0.3-r1.ebuild 3552 -SHA256 2b82701cdf3fa4ca5f5e1ba9c7c7e2e3cf94e7f698f4ccd5fc5e31f45cc40c57 pdflib-6.0.3-r1.ebuild 3552 -EBUILD pdflib-6.0.3.ebuild 3613 RMD160 a9740dfe7de5b55c9618153b1f4e70a6c17cbc87 SHA1 f356e06934bb5ca17fc910a7a4a13ff9444ec574 SHA256 cce2f55c02fea05934bd5b489fe5ed02bc4e1c190635b3f6dc6c2a2f4b5c7204 -MD5 e8f5fb04285622051123a2a0eb8f8f34 pdflib-6.0.3.ebuild 3613 -RMD160 a9740dfe7de5b55c9618153b1f4e70a6c17cbc87 pdflib-6.0.3.ebuild 3613 -SHA256 cce2f55c02fea05934bd5b489fe5ed02bc4e1c190635b3f6dc6c2a2f4b5c7204 pdflib-6.0.3.ebuild 3613 -EBUILD pdflib-7.0.1.ebuild 3442 RMD160 593670b9efa9dd9b27bad520387b617851e09693 SHA1 b67bcc39c2fcc6e10687f8501d4da8c9adf80c72 SHA256 ac7fdea7969aeffb60bb034f1154667a910f7179e46af00e1aae9a94597c5f9e -MD5 ce7d0e895457eac2ee234ef6cfb5e116 pdflib-7.0.1.ebuild 3442 -RMD160 593670b9efa9dd9b27bad520387b617851e09693 pdflib-7.0.1.ebuild 3442 -SHA256 ac7fdea7969aeffb60bb034f1154667a910f7179e46af00e1aae9a94597c5f9e pdflib-7.0.1.ebuild 3442 -MISC ChangeLog 9884 RMD160 342e0832a51c7bc8900f37faec51285b8d4da8dc SHA1 5b5de83ff150e06285ed485588a0a09c441966c3 SHA256 e3898cf09ab169dfeab65157c63c97d982948ae2bea7c9b7bc60e381930dfe92 -MD5 251cd5bfc9c9bc26beacc4056bd5e6b0 ChangeLog 9884 -RMD160 342e0832a51c7bc8900f37faec51285b8d4da8dc ChangeLog 9884 -SHA256 e3898cf09ab169dfeab65157c63c97d982948ae2bea7c9b7bc60e381930dfe92 ChangeLog 9884 +EBUILD pdflib-6.0.3-r1.ebuild 3552 RMD160 a281102b22eeeec37c05b266c2e33cc91d17309f SHA1 17d8260eaa5673975746d884558a37e4938ea38c SHA256 efe62e62bed82aed86eb8f3753a77086f8a47c73c107e461ee52487ddd11e2cf +MD5 cafeafc9d7f1649d57ec0485f333e5bd pdflib-6.0.3-r1.ebuild 3552 +RMD160 a281102b22eeeec37c05b266c2e33cc91d17309f pdflib-6.0.3-r1.ebuild 3552 +SHA256 efe62e62bed82aed86eb8f3753a77086f8a47c73c107e461ee52487ddd11e2cf pdflib-6.0.3-r1.ebuild 3552 +EBUILD pdflib-7.0.1.ebuild 3442 RMD160 bad9f8ebc167231c080d391f6546fa17aa8c32fd SHA1 4f5cd0a9d0ee229b1b37d7202c4c1fed45e21cd8 SHA256 302e954bb98c9f13c8c356d855ef60d18101da90d2a0da903b245ccc6ad41030 +MD5 749298cd5e1912b4d66fada5c2730428 pdflib-7.0.1.ebuild 3442 +RMD160 bad9f8ebc167231c080d391f6546fa17aa8c32fd pdflib-7.0.1.ebuild 3442 +SHA256 302e954bb98c9f13c8c356d855ef60d18101da90d2a0da903b245ccc6ad41030 pdflib-7.0.1.ebuild 3442 +MISC ChangeLog 10073 RMD160 90d7b95bacadd63b2560e72aa20f0b9d10cfc719 SHA1 8d52bebcf03ba798de6712a6becc7cd557e7a76b SHA256 3040beb2ff2afc4e7f4a62933733a5d8b5b5fe90220fd51f5c5e62ad0068bf93 +MD5 1b7d0dd6d10d3703d695079b3a296423 ChangeLog 10073 +RMD160 90d7b95bacadd63b2560e72aa20f0b9d10cfc719 ChangeLog 10073 +SHA256 3040beb2ff2afc4e7f4a62933733a5d8b5b5fe90220fd51f5c5e62ad0068bf93 ChangeLog 10073 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 -MD5 8adac95fb9be770a2cd4894e792a2783 files/digest-pdflib-5.0.4_p1-r1 289 -RMD160 5ec2914f078974728e4f86a8ca68662d6da58213 files/digest-pdflib-5.0.4_p1-r1 289 -SHA256 8057efe66c257b8ad67d9a7dd75304a5ee812e4b23122bea68b7142e95a97fd4 files/digest-pdflib-5.0.4_p1-r1 289 -MD5 2018b15518bb032401f97195b2e32920 files/digest-pdflib-6.0.3 256 -RMD160 9e4056694ed788f7ddfcd7d9e7a322039703a51e files/digest-pdflib-6.0.3 256 -SHA256 b9e7114b03d531047fd457038d07e74ebcc2cec37e67bdab49e2c52663f43098 files/digest-pdflib-6.0.3 256 MD5 2018b15518bb032401f97195b2e32920 files/digest-pdflib-6.0.3-r1 256 RMD160 9e4056694ed788f7ddfcd7d9e7a322039703a51e files/digest-pdflib-6.0.3-r1 256 SHA256 b9e7114b03d531047fd457038d07e74ebcc2cec37e67bdab49e2c52663f43098 files/digest-pdflib-6.0.3-r1 256 MD5 ee62568260ad371160131cff26e16dae files/digest-pdflib-7.0.1 256 RMD160 278ef576511d7eaf0b596dabafd68252533b1788 files/digest-pdflib-7.0.1 256 SHA256 fd7b51c0e8ab6f52bc8bf15d60c79e65aefede29e34bff6c119c1f3389b450db files/digest-pdflib-7.0.1 256 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGfulyp/wUKkr7RBoRAj6RAJ9LTg4yJDb+spJ0BRFQndHvUx6a7gCfdHvi -2JfD0QYuTo8x3pmIEtmo2cU= -=bmOQ ------END PGP SIGNATURE----- diff --git a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1 b/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1 deleted file mode 100644 index 4eda875a9a43..000000000000 --- a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0bdafcbf7d1e732cf0abd376c6021637 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309 -RMD160 b184e1484d7e908d85a13f8ed7ef22b56154cc29 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309 -SHA256 7236c07aa80fdda79359ee89a05d4fdb5784a8a1788cdbc79197911cfa4dc422 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309 diff --git a/media-libs/pdflib/files/digest-pdflib-6.0.3 b/media-libs/pdflib/files/digest-pdflib-6.0.3 deleted file mode 100644 index 101dd33ba572..000000000000 --- a/media-libs/pdflib/files/digest-pdflib-6.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 799aeaa3f0f9a13d7a661d730327e9d0 PDFlib-Lite-6.0.3.tar.gz 3763292 -RMD160 c8d74b31f30156be0280865aaa9985883fba6c21 PDFlib-Lite-6.0.3.tar.gz 3763292 -SHA256 7ebd0f907283800e757bf27b038e4f18786c16577f51a547e55da014f9f248ff PDFlib-Lite-6.0.3.tar.gz 3763292 diff --git a/media-libs/pdflib/pdflib-5.0.4_p1-r1.ebuild b/media-libs/pdflib/pdflib-5.0.4_p1-r1.ebuild deleted file mode 100644 index 023de8f79db9..000000000000 --- a/media-libs/pdflib/pdflib-5.0.4_p1-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-5.0.4_p1-r1.ebuild,v 1.11 2007/03/16 22:45:29 chtekk Exp $ - -# eutils must be inherited since get_libdir() is only -# globally available on baselayout-1.11 (still on ~arch) -inherit eutils java-pkg flag-o-matic - -MY_PN="${PN/pdf/PDF}-Lite" -MY_PV="${PV/_p1/p1}" -MY_P="${MY_PN}-${MY_PV}-Unix-src" -S="${WORKDIR}/${MY_P}" -DESCRIPTION="A library for generating PDF on the fly" -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/products/pdflib/download/504src/${MY_P}.tar.gz" - -LICENSE="Aladdin" -SLOT="5" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86" -IUSE="tcl perl python java" - -DEPEND=">=sys-apps/sed-4 - tcl? ( >=dev-lang/tcl-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 ) - java? ( >=virtual/jdk-1.3 )" - -src_compile() { - local myconf= - - # Bug #87004 - filter-flags -mcpu=* - filter-flags -mtune=* - - PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" - # Necessary for multilib on amd64. Please keep this in future releases. - # BUG #81197 - # Danny van Dyk <kugelfang@gentoo.org> 2005/02/14 - TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" - use tcl \ - && myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" \ - || myconf="--with-tcl=no" - use perl || myconf="${myconf} --with-perl=no" - use python \ - && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ - || myconf="${myconf} --with-py=no" - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - econf \ - --enable-cxx \ - ${myconf} || die - emake || die "emake failed" -} - -src_install() { - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - ${S}/bind/pdflib/perl/Makefile \ - || die "sed bind/pdflib/perl/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - ${S}/bind/pdflib/python/Makefile \ - || die "sed bind/pdflib/python/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - ${S}/bind/pdflib/tcl/Makefile \ - || die "sed bind/pdflib/tcl/Makefile failed" - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if use perl && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/$(get_libdir)/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if use python && [ -x /usr/bin/python ] ; then - dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - einstall || die - - dodoc readme.txt doc/* - docinto pdflib - dodoc doc/pdflib/* - - # seemant: seems like the makefiles for pdflib generate the .jar file - # anyway - use java && java-pkg_dojar bind/pdflib/java/pdflib.jar - - # karltk: This is definitely NOT how it should be done! - # we need this to create pdflib.jar (we will not have the source when - # this is a binary package ...) -# if use java -# then -# insinto /usr/share/pdflib -# doins ${S}/bind/pdflib/java/pdflib.java -# -# mkdir -p com/pdflib -# mv ${S}/bind/pdflib/java/pdflib.java com/pdflib -# javac com/pdflib/pdflib.java -# -# jar cf pdflib.jar com/pdflib/*.class -# -# java-pkg_dojar pdflib.jar -# fi -} diff --git a/media-libs/pdflib/pdflib-6.0.3-r1.ebuild b/media-libs/pdflib/pdflib-6.0.3-r1.ebuild index 8859efd7e407..b4c5566fb625 100644 --- a/media-libs/pdflib/pdflib-6.0.3-r1.ebuild +++ b/media-libs/pdflib/pdflib-6.0.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-6.0.3-r1.ebuild,v 1.9 2007/06/24 22:00:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-6.0.3-r1.ebuild,v 1.10 2007/07/05 19:29:31 anant Exp $ # eutils must be inherited since get_libdir() is only # globally available on baselayout-1.11 (still on ~arch) @@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}" DESCRIPTION="A library for generating PDF on the fly." HOMEPAGE="http://www.pdflib.com/" SRC_URI="http://www.pdflib.com/products/pdflib/download/${PV//./}src/${MY_P}.tar.gz" -LICENSE="Aladdin" +LICENSE="PDFLite" SLOT="5" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" IUSE="doc tcl perl python java" diff --git a/media-libs/pdflib/pdflib-6.0.3.ebuild b/media-libs/pdflib/pdflib-6.0.3.ebuild deleted file mode 100644 index 91da8ec6d0a4..000000000000 --- a/media-libs/pdflib/pdflib-6.0.3.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-6.0.3.ebuild,v 1.6 2007/03/16 22:45:29 chtekk Exp $ - -# eutils must be inherited since get_libdir() is only -# globally available on baselayout-1.11 (still on ~arch) -inherit eutils java-pkg flag-o-matic - -MY_PN="${PN/pdf/PDF}-Lite" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="A library for generating PDF on the fly." -HOMEPAGE="http://www.pdflib.com/" -SRC_URI="http://www.pdflib.com/products/pdflib/download/${PV//./}src/${MY_P}.tar.gz" -LICENSE="Aladdin" -SLOT="5" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="tcl perl python java" - -DEPEND=">=sys-apps/sed-4 - tcl? ( >=dev-lang/tcl-8.2 ) - perl? ( >=dev-lang/perl-5.1 ) - python? ( >=dev-lang/python-2.2 ) - java? ( >=virtual/jdk-1.3 )" - -src_compile() { - local myconf= - - # Bug #87004 - filter-flags -mcpu=* - filter-flags -mtune=* - - PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" - # Necessary for multilib on amd64. Please keep this in future releases. - # BUG #81197 - # Danny van Dyk <kugelfang@gentoo.org> 2005/02/14 - TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" - use tcl \ - && myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" \ - || myconf="--with-tcl=no" - use perl || myconf="${myconf} --with-perl=no" - use python \ - && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ - || myconf="${myconf} --with-py=no" - use java \ - && myconf="${myconf} --with-java=${JAVA_HOME}" \ - || myconf="${myconf} --with-java=no" - - econf \ - --enable-cxx \ - ${myconf} || die - emake || die "emake failed" -} - -src_install() { - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/perl/Makefile" \ - || die "sed bind/pdflib/perl/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/python/Makefile" \ - || die "sed bind/pdflib/python/Makefile failed" - - sed -i \ - -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ - "${S}/bind/pdflib/tcl/Makefile" \ - || die "sed bind/pdflib/tcl/Makefile failed" - - # ok, this should create the correct lib dirs for perl and python. - # yes, i know it is messy, but as i see it, a ebuild should be generic - # ... ie. you should be able to just use cp to update it - if use perl && [ -x /usr/bin/perl ] ; then - local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4 |cut -d '.' -f 1`" - local perlver="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 4`" - local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ - |cut -d ' ' -f 7`" - dodir /usr/$(get_libdir)/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} - fi - if use python && [ -x /usr/bin/python ] ; then - dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload - fi - #next line required for proper install - dodir /usr/bin - einstall || die - - dodoc readme.txt doc/* - docinto pdflib - dodoc doc/pdflib/* - - # seemant: seems like the makefiles for pdflib generate the .jar file - # anyway - use java && java-pkg_dojar bind/pdflib/java/pdflib.jar - - # karltk: This is definitely NOT how it should be done! - # we need this to create pdflib.jar (we will not have the source when - # this is a binary package ...) -# if use java -# then -# insinto /usr/share/pdflib -# doins ${S}/bind/pdflib/java/pdflib.java -# -# mkdir -p com/pdflib -# mv ${S}/bind/pdflib/java/pdflib.java com/pdflib -# javac com/pdflib/pdflib.java -# -# jar cf pdflib.jar com/pdflib/*.class -# -# java-pkg_dojar pdflib.jar -# fi -} diff --git a/media-libs/pdflib/pdflib-7.0.1.ebuild b/media-libs/pdflib/pdflib-7.0.1.ebuild index 3e9b6365570c..7bed64e5b281 100644 --- a/media-libs/pdflib/pdflib-7.0.1.ebuild +++ b/media-libs/pdflib/pdflib-7.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.1 2007/04/23 22:51:06 anant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.2 2007/07/05 19:29:31 anant Exp $ # eutils must be inherited since get_libdir() is only # globally available on baselayout-1.11 (still on ~arch) @@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}" DESCRIPTION="A library for generating PDF on the fly." HOMEPAGE="http://www.pdflib.com/" SRC_URI="http://www.pdflib.com/binaries/${PN/pdf/PDF}/${PV//./}/${MY_P}.tar.gz" -LICENSE="Aladdin" +LICENSE="PDFLite" SLOT="5" KEYWORDS="~x86" IUSE="doc tcl perl python java" |