summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-02-02 18:56:22 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-02-02 18:56:22 +0000
commitf5a5ca13eabccd0172e270e480785f1a47393fb9 (patch)
tree6d84efb808b6da4ae884aaecea7be331c7d8c32d /media-libs/netpbm
parentVersion bumped. (diff)
downloadhistorical-f5a5ca13eabccd0172e270e480785f1a47393fb9.tar.gz
historical-f5a5ca13eabccd0172e270e480785f1a47393fb9.tar.bz2
historical-f5a5ca13eabccd0172e270e480785f1a47393fb9.zip
Version bumped.
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/ChangeLog7
-rw-r--r--media-libs/netpbm/Manifest6
-rw-r--r--media-libs/netpbm/files/digest-netpbm-10.18.71
-rw-r--r--media-libs/netpbm/netpbm-10.18.7.ebuild81
4 files changed, 92 insertions, 3 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index 0438908faf44..9427144996be 100644
--- a/media-libs/netpbm/ChangeLog
+++ b/media-libs/netpbm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/netpbm
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.40 2004/02/02 18:51:10 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.41 2004/02/02 18:56:22 mholzer Exp $
+
+*netpbm-10.20 (02 Feb 2004)
+
+ 02 Feb 2004; Martin Holzer <mholzer@gentoo.org> netpbm-10.20.ebuild:
+ Version bumped.
*netpbm-10.18.7 (02 Feb 2004)
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index 6cf2d04d2d46..bbbdc56da914 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -1,12 +1,14 @@
MD5 e1f6c302199a36c1be4ecf1654be9bac metadata.xml 224
-MD5 8f95d05c61c1a094bdc7d1a1d2d5c4a5 ChangeLog 6225
+MD5 46bfbbadd5c0129e58b7c896e8dccd28 ChangeLog 6344
MD5 e90a1f14a0d2d9161d009ace72b716d3 netpbm-10.11.15.ebuild 2082
MD5 9da072be2c2d09ac6fcf8d21791451a9 netpbm-10.11.14.ebuild 2081
MD5 22e8f9ccaff0f3cc18a059b054d1a2e7 netpbm-10.11.5-r3.ebuild 1621
MD5 3231ed5592124d02215bdb0223ff0d13 netpbm-9.12-r4.ebuild 1523
MD5 05140d55ac76e1858d9ae2dff903809c netpbm-10.19.ebuild 1757
-MD5 e90a1f14a0d2d9161d009ace72b716d3 netpbm-10.18.7.ebuild 2082
+MD5 f33f8d87bdf452868b8fae62e999c01d netpbm-10.18.7.ebuild 2081
+MD5 34d7af9547163661e67ee3c02d0496a1 netpbm-10.20.ebuild 2231
MD5 15efd1a3748d1c9b0a9d9e88374bcbbc files/digest-netpbm-10.11.15 65
+MD5 40a3370de6ed591305e4585ffbc605bd files/digest-netpbm-10.20 62
MD5 6735fc271948c349d02f59361b4c373e files/digest-netpbm-10.11.14 65
MD5 19ce2b4d396523dcbcb1e415d4bdb8c9 files/digest-netpbm-10.11.5-r3 64
MD5 b38412609f4a8671a787d303b8d2b876 files/digest-netpbm-9.12-r4 61
diff --git a/media-libs/netpbm/files/digest-netpbm-10.18.7 b/media-libs/netpbm/files/digest-netpbm-10.18.7
new file mode 100644
index 000000000000..c26682251a9a
--- /dev/null
+++ b/media-libs/netpbm/files/digest-netpbm-10.18.7
@@ -0,0 +1 @@
+MD5 f89977d5ba8d5814932e2d62b4011cd5 netpbm-10.18.7.tgz 2089782
diff --git a/media-libs/netpbm/netpbm-10.18.7.ebuild b/media-libs/netpbm/netpbm-10.18.7.ebuild
new file mode 100644
index 000000000000..2c7aedb7aecd
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.18.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.18.7.ebuild,v 1.1 2004/02/02 18:51:10 mholzer Exp $
+
+inherit flag-o-matic
+
+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"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~amd64 ~ia64"
+IUSE="svga jpeg tiff png zlib"
+RESTRICT="nomirror"
+
+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/lib/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:-O3:${CFLAGS} -fPIC:" Makefile.config || die " sed 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"
+}