diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-08-23 23:22:10 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-08-23 23:22:10 +0000 |
commit | c520e7cddbc1766e8b7f488726d69916c9678595 (patch) | |
tree | 112bc9b596d004eaed5f805798a48ea0e1330c86 | |
parent | Marked stable on hppa. (diff) | |
download | gentoo-2-c520e7cddbc1766e8b7f488726d69916c9678595.tar.gz gentoo-2-c520e7cddbc1766e8b7f488726d69916c9678595.tar.bz2 gentoo-2-c520e7cddbc1766e8b7f488726d69916c9678595.zip |
adding misc files. Closes #21318.
-rw-r--r-- | media-libs/netpbm/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/netpbm/Manifest | 12 | ||||
-rw-r--r-- | media-libs/netpbm/files/digest-netpbm-10.11.10-r1 | 1 | ||||
-rw-r--r-- | media-libs/netpbm/files/digest-netpbm-10.11.5-r3 | 1 | ||||
-rw-r--r-- | media-libs/netpbm/netpbm-10.11.10-r1.ebuild | 69 | ||||
-rw-r--r-- | media-libs/netpbm/netpbm-10.11.5-r3.ebuild | 69 |
6 files changed, 155 insertions, 5 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog index 41952a81bf24..1af1048d1ac0 100644 --- a/media-libs/netpbm/ChangeLog +++ b/media-libs/netpbm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/netpbm # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.26 2003/08/11 19:10:51 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.27 2003/08/23 23:22:05 mholzer Exp $ + +*netpbm-10.11.10-r1 (24 Aug 2003) + + 24 Aug 2003; Martin Holzer <mholzer@gentoo.org> netpbm-10.11.10-r1.ebuild, + netpbm-10.11.5-r3.ebuild: + adding misc files. Closes #21318. *netpbm-10.11.10 (12 Aug 2003) diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest index f7c84ada6aba..e2b069d3a19f 100644 --- a/media-libs/netpbm/Manifest +++ b/media-libs/netpbm/Manifest @@ -1,12 +1,16 @@ -MD5 dd9cde27bf35b23832dcc66688d22eaa ChangeLog 4105 -MD5 50fcee69c7937f0f379546ea5a249479 netpbm-10.11.5-r2.ebuild 1674 +MD5 ff92be98c47ac0fabc77178500dc6aba ChangeLog 4282 MD5 811923b399560dc068fdddbb7877d7fd netpbm-9.12-r4.ebuild 1531 +MD5 f29a4d5b5c77123ae1f6532da09b5964 netpbm-10.11.5-r3.ebuild 1653 +MD5 039ef6706946de35a7333e2b03a187e9 netpbm-10.11.10-r1.ebuild 1655 MD5 4a7acbe6f03509405cffaae7f432ba19 netpbm-10.11.10.ebuild 1674 +MD5 50fcee69c7937f0f379546ea5a249479 netpbm-10.11.5-r2.ebuild 1674 MD5 19ce2b4d396523dcbcb1e415d4bdb8c9 files/digest-netpbm-10.11.5-r2 64 MD5 b38412609f4a8671a787d303b8d2b876 files/digest-netpbm-9.12-r4 61 MD5 64b026ccda6561449981438f551614e5 files/digest-netpbm-10.11.10 65 -MD5 d3afaf9141525a706f8c077f66918670 files/10.11.10/Makefile.config 17308 -MD5 be5dafab017b8247e09f643e9798441e files/10.11.10/Makefile.svga 17374 +MD5 64b026ccda6561449981438f551614e5 files/digest-netpbm-10.11.10-r1 65 +MD5 19ce2b4d396523dcbcb1e415d4bdb8c9 files/digest-netpbm-10.11.5-r3 64 MD5 d3afaf9141525a706f8c077f66918670 files/10.11.5/Makefile.config 17308 MD5 be5dafab017b8247e09f643e9798441e files/10.11.5/Makefile.svga 17374 +MD5 d3afaf9141525a706f8c077f66918670 files/10.11.10/Makefile.config 17308 +MD5 be5dafab017b8247e09f643e9798441e files/10.11.10/Makefile.svga 17374 MD5 943662580b449abb996444e348c48298 files/9.12/Makefile.config 11635 diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.10-r1 b/media-libs/netpbm/files/digest-netpbm-10.11.10-r1 new file mode 100644 index 000000000000..64e407cb767d --- /dev/null +++ b/media-libs/netpbm/files/digest-netpbm-10.11.10-r1 @@ -0,0 +1 @@ +MD5 4c057801d3c5bd116fda88a57cedb057 netpbm-10.11.10.tgz 1911573 diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.5-r3 b/media-libs/netpbm/files/digest-netpbm-10.11.5-r3 new file mode 100644 index 000000000000..c6a2172516e9 --- /dev/null +++ b/media-libs/netpbm/files/digest-netpbm-10.11.5-r3 @@ -0,0 +1 @@ +MD5 3a10f98234d81bd0731c721a3a2b2876 netpbm-10.11.5.tgz 1910762 diff --git a/media-libs/netpbm/netpbm-10.11.10-r1.ebuild b/media-libs/netpbm/netpbm-10.11.10-r1.ebuild new file mode 100644 index 000000000000..63a8ae2cef1a --- /dev/null +++ b/media-libs/netpbm/netpbm-10.11.10-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.10-r1.ebuild,v 1.1 2003/08/23 23:22:05 mholzer Exp $ + +IUSE="svga" + +inherit flag-o-matic + +DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +HOMEPAGE="http://netpbm.sourceforge.net/" + +DEPEND=">=media-libs/jpeg-6b + >=media-libs/tiff-3.5.5 + >=media-libs/libpng-1.2.1 + svga? ( media-libs/svgalib )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~amd64" + +src_unpack() { + unpack ${A} + cd ${S} + + if [ "${ARCH}" != "x86" ] ; then + cfg="config" + else + if [ -n "`use svga`" ] + then + cfg="svga" + else + cfg="config" + fi + fi + + # Sparc support ... + replace-flags "-mcpu=ultrasparc" "-mcpu=v8 -mtune=ultrasparc" + replace-flags "-mcpu=v9" "-mcpu=v8 -mtune=v9" + + sed -e "s:-O3:${CFLAGS} -fPIC:" ${FILESDIR}/${PV}/Makefile.${cfg} \ + > Makefile.config || die "Flag replacement failed" +} + +src_compile() { + MAKEOPTS="${MAKEOPTS} -j1" + emake CC="${CC}" CXX="${CXX}"|| die "emake failed" +} + +src_install () { + make package pkgdir=${D}/usr/ || die "make package failed" + + # Fix symlink not being created. + dosym `basename ${D}/usr/lib/libnetpbm.so.*` /usr/lib/libnetpbm.so + + dodir /usr/share + 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/pkginfo + mv ${D}/usr/man/ ${D}/usr/share/man + + dodoc README + export GLOBIGNORE='*.html:.*' + cd doc && \ + dodoc * && \ + dohtml -r . || die "doc install failed" +} diff --git a/media-libs/netpbm/netpbm-10.11.5-r3.ebuild b/media-libs/netpbm/netpbm-10.11.5-r3.ebuild new file mode 100644 index 000000000000..70a6b514922e --- /dev/null +++ b/media-libs/netpbm/netpbm-10.11.5-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.5-r3.ebuild,v 1.1 2003/08/23 23:22:05 mholzer Exp $ + +IUSE="svga" + +inherit flag-o-matic + +DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +HOMEPAGE="http://netpbm.sourceforge.net/" + +DEPEND=">=media-libs/jpeg-6b + >=media-libs/tiff-3.5.5 + >=media-libs/libpng-1.2.1 + svga? ( media-libs/svgalib )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~hppa ~arm ~amd64" + +src_unpack() { + unpack ${A} + cd ${S} + + if [ "${ARCH}" != "x86" ] ; then + cfg="config" + else + if [ -n "`use svga`" ] + then + cfg="svga" + else + cfg="config" + fi + fi + + # Sparc support ... + replace-flags "-mcpu=ultrasparc" "-mcpu=v8 -mtune=ultrasparc" + replace-flags "-mcpu=v9" "-mcpu=v8 -mtune=v9" + + sed -e "s:-O3:${CFLAGS} -fPIC:" ${FILESDIR}/${PV}/Makefile.${cfg} \ + > Makefile.config || die "Flag replacement failed" +} + +src_compile() { + MAKEOPTS="${MAKEOPTS} -j1" + emake CC="${CC}" CXX="${CXX}"|| die "emake failed" +} + +src_install () { + make package pkgdir=${D}/usr/ || die "make package failed" + + # Fix symlink not being created. + dosym `basename ${D}/usr/lib/libnetpbm.so.*` /usr/lib/libnetpbm.so + + dodir /usr/share + 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/pkginfo + mv ${D}/usr/man/ ${D}/usr/share/man + + dodoc README + export GLOBIGNORE='*.html:.*' + cd doc && \ + dodoc * && \ + dohtml -r . || die "doc install failed" +} |