diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-06-22 21:57:01 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-06-22 21:57:01 +0000 |
commit | 999c0933a05b9aef1f718f49b7b78546f84c8ae7 (patch) | |
tree | 730aa9e63621fd73198e5cdfcb72fa1eca7f2e18 /media-libs/netpbm | |
parent | added metadata and version bump which fixes #76865 (diff) | |
download | gentoo-2-999c0933a05b9aef1f718f49b7b78546f84c8ae7.tar.gz gentoo-2-999c0933a05b9aef1f718f49b7b78546f84c8ae7.tar.bz2 gentoo-2-999c0933a05b9aef1f718f49b7b78546f84c8ae7.zip |
Install map files in /usr/share/netpbm instead of as documentation #77797
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r-- | media-libs/netpbm/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/netpbm/Manifest | 12 | ||||
-rw-r--r-- | media-libs/netpbm/files/digest-netpbm-10.20-r1 | 1 | ||||
-rw-r--r-- | media-libs/netpbm/netpbm-10.20-r1.ebuild | 92 |
4 files changed, 101 insertions, 11 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog index 99497defa007..2fc727c5660f 100644 --- a/media-libs/netpbm/ChangeLog +++ b/media-libs/netpbm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/netpbm # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.52 2005/05/30 18:53:36 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.53 2005/06/22 21:57:01 agriffis Exp $ + +*netpbm-10.20-r1 (22 Jun 2005) + + 22 Jun 2005; Aron Griffis <agriffis@gentoo.org> +netpbm-10.20-r1.ebuild: + Install map files in /usr/share/netpbm instead of as documentation #77797 30 May 2005; Sven Wegener <swegener@gentoo.org> netpbm-9.12-r4.ebuild, netpbm-10.11.5-r3.ebuild, netpbm-10.11.14.ebuild, netpbm-10.11.15.ebuild, diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest index 6b8a4256de4a..0e06b2c474ac 100644 --- a/media-libs/netpbm/Manifest +++ b/media-libs/netpbm/Manifest @@ -1,17 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 8fd9b3cff2245d777f766f7f06e35434 netpbm-10.20.ebuild 2275 MD5 f17a1fb0d30a71452e534e435c7295b2 netpbm-9.12-r4.ebuild 1343 MD5 e356185ae787b984b1502205834c74f4 netpbm-10.11.14.ebuild 2010 MD5 323b69ef703b303e44f51be5b762df65 netpbm-10.18.7.ebuild 2009 MD5 bc37890e535cf2fcbe66043b92491072 netpbm-10.11.15.ebuild 2009 +MD5 ba720392883f381a169222b720962d13 netpbm-10.20-r1.ebuild 2393 MD5 fc5b2c41ccdc4c486d3f7b65771753b5 netpbm-10.19.ebuild 1739 MD5 da8ae821f50f4efbdd74c5c291bb533a ChangeLog 7717 MD5 28ca860ea5e88498171e08bc22685c16 netpbm-10.11.5-r3.ebuild 1567 MD5 e1f6c302199a36c1be4ecf1654be9bac metadata.xml 224 MD5 6735fc271948c349d02f59361b4c373e files/digest-netpbm-10.11.14 65 MD5 15efd1a3748d1c9b0a9d9e88374bcbbc files/digest-netpbm-10.11.15 65 +MD5 40a3370de6ed591305e4585ffbc605bd files/digest-netpbm-10.20-r1 62 MD5 74da89b4a373ba2116b4ba5d8e9d31a0 files/digest-netpbm-10.18.7 64 MD5 b38412609f4a8671a787d303b8d2b876 files/digest-netpbm-9.12-r4 61 MD5 c06a062a991dc2b0f8bd88ac44a1e5e5 files/digest-netpbm-10.19 62 @@ -22,10 +21,3 @@ MD5 be5dafab017b8247e09f643e9798441e files/10.11.14/Makefile.svga 17374 MD5 d3afaf9141525a706f8c077f66918670 files/10.11.14/Makefile.config 17308 MD5 be5dafab017b8247e09f643e9798441e files/10.11.5/Makefile.svga 17374 MD5 d3afaf9141525a706f8c077f66918670 files/10.11.5/Makefile.config 17308 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCm2FLI1lqEGTUzyQRAl7sAKDRjBfAeM2uSLL+B+uJBDhK9xb4xACguOug -cED87bduS6N9qn/sDy5hUQE= -=y0cT ------END PGP SIGNATURE----- diff --git a/media-libs/netpbm/files/digest-netpbm-10.20-r1 b/media-libs/netpbm/files/digest-netpbm-10.20-r1 new file mode 100644 index 000000000000..fcd8bae0df58 --- /dev/null +++ b/media-libs/netpbm/files/digest-netpbm-10.20-r1 @@ -0,0 +1 @@ +MD5 4aa2f767c4d58bcbdafaba6a7dd03313 netpbm-10.20.tgz 2110651 diff --git a/media-libs/netpbm/netpbm-10.20-r1.ebuild b/media-libs/netpbm/netpbm-10.20-r1.ebuild new file mode 100644 index 000000000000..f8013d763539 --- /dev/null +++ b/media-libs/netpbm/netpbm-10.20-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.20-r1.ebuild,v 1.1 2005/06/22 21:57:01 agriffis Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" +HOMEPAGE="http://netpbm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="svga jpeg tiff png zlib" + +DEPEND="jpeg? ( >=media-libs/jpeg-6b ) + tiff? ( >=media-libs/tiff-3.5.5 ) + png? ( >=media-libs/libpng-1.2.1 ) + zlib? ( sys-libs/zlib ) + svga? ( media-libs/svgalib )" + +src_unpack() { + unpack ${A} + cd ${S} + cp Makefile.config.in Makefile.config + + if use svga ; then + echo "LINUXSVGAHDR_DIR = /usr/include" >> Makefile.config + echo "LINUXSVGALIB = /usr/$(get_libdir)/libvga.so" >> Makefile.config + fi + + if use jpeg ; then + echo "JPEGLIB = libjpeg.so" >> Makefile.config + fi + + if use png ; then + echo "PNGLIB = libpng.so" >> Makefile.config + fi + + if use tiff ; then + echo "TIFFLIB = libtiff.so" >> Makefile.config + fi + + if use zlib ; then + echo "ZLIB = libz.so" >> Makefile.config + fi + + # Sparc support ... + replace-flags "-mcpu=ultrasparc" "-mcpu=v8 -mtune=ultrasparc" + replace-flags "-mcpu=v9" "-mcpu=v8 -mtune=v9" + + sed -i \ + -e 's:$(CFLAGS):$(CFLAGS) -fPIC:' \ + -e 's:$(LDFLAGS):$(LDFLAGS) -fPIC:' \ + lib/Makefile + sed -i -e 's:$(CCOPT):$(CCOPT) -fPIC:' \ + lib/util/Makefile +} + +src_compile() { + emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" +} + +src_install() { + make package pkgdir=${D}/usr/ || die "make package failed" + + if [ "$(get_libdir)" != "lib" ]; then + mv ${D}/usr/lib ${D}/usr/$(get_libdir) + fi + + # Fix symlink not being created. + dosym `basename ${D}/usr/$(get_libdir)/libnetpbm.so.*` /usr/$(get_libdir)/libnetpbm.so + + rm -rf ${D}/usr/bin/doc.url + rm -rf ${D}/usr/man/web + rm -rf ${D}/usr/link + rm -rf ${D}/usr/README + rm -rf ${D}/usr/VERSION + rm -rf ${D}/usr/pkginfo + dodir /usr/share + mv ${D}/usr/man ${D}/usr/share/man + + # Install the maps in /usr/share/netpbm so other programs (like plucker) can + # use them. #77797 + mv ${D}/usr/misc ${D}/usr/share/netpbm + + dodoc README + export GLOBIGNORE='*.html:.*' + cd doc && \ + dodoc * && \ + dohtml -r . || die "doc install failed" +} |