summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-02-02 18:51:29 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-02-02 18:51:29 +0000
commit9656b66f24b16f8eba5da612c1ede91200bc8f6c (patch)
tree5f42abde4c31a496d00d9176c65a24727f21b2f2 /media-libs/netpbm
parentVersion bumped. (diff)
downloadgentoo-2-9656b66f24b16f8eba5da612c1ede91200bc8f6c.tar.gz
gentoo-2-9656b66f24b16f8eba5da612c1ede91200bc8f6c.tar.bz2
gentoo-2-9656b66f24b16f8eba5da612c1ede91200bc8f6c.zip
Version bumped.
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/ChangeLog7
-rw-r--r--media-libs/netpbm/Manifest4
-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, 90 insertions, 3 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index 6dbec443f4e9..0438908faf44 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.39 2004/01/27 20:09:16 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.40 2004/02/02 18:51:10 mholzer Exp $
+
+*netpbm-10.18.7 (02 Feb 2004)
+
+ 02 Feb 2004; Martin Holzer <mholzer@gentoo.org> netpbm-10.18.7.ebuild:
+ Version bumped.
27 Jan 2004; Martin Holzer <mholzer@gentoo.org> netpbm-10.11.14.ebuild,
netpbm-10.11.15.ebuild:
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index 6cf2d04d2d46..9af4a935b2cc 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -1,11 +1,11 @@
MD5 e1f6c302199a36c1be4ecf1654be9bac metadata.xml 224
-MD5 8f95d05c61c1a094bdc7d1a1d2d5c4a5 ChangeLog 6225
+MD5 4914c3dc42be1503c134c59a7f720422 ChangeLog 6225
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 15efd1a3748d1c9b0a9d9e88374bcbbc files/digest-netpbm-10.11.15 65
MD5 6735fc271948c349d02f59361b4c373e files/digest-netpbm-10.11.14 65
MD5 19ce2b4d396523dcbcb1e415d4bdb8c9 files/digest-netpbm-10.11.5-r3 64
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"
+}