summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn P. Davis <zhen@gentoo.org>2003-09-22 00:31:56 +0000
committerJohn P. Davis <zhen@gentoo.org>2003-09-22 00:31:56 +0000
commite7e3e5c47105a5349ace1da5cb140584f5dfcb49 (patch)
tree392c5f8c25a8dae8ef4e9488a1d65e26c688402d /media-libs
parentfixed the svgalib ppc dep problem (diff)
downloadhistorical-e7e3e5c47105a5349ace1da5cb140584f5dfcb49.tar.gz
historical-e7e3e5c47105a5349ace1da5cb140584f5dfcb49.tar.bz2
historical-e7e3e5c47105a5349ace1da5cb140584f5dfcb49.zip
fixed the svgalib ppc dep problem
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/netpbm/Manifest6
-rw-r--r--media-libs/netpbm/files/digest-netpbm-10.11.13-r11
-rw-r--r--media-libs/netpbm/netpbm-10.11.13-r1.ebuild69
-rw-r--r--media-libs/netpbm/netpbm-10.11.13.ebuild4
4 files changed, 75 insertions, 5 deletions
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index 4068b89e2fb1..a9bd578401e9 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -1,10 +1,10 @@
-MD5 a847fb1def99667c5411447f9ca26e6d ChangeLog 4971
+MD5 b6643226bf6e42b05ed438d9e7e18426 ChangeLog 4968
MD5 039ef6706946de35a7333e2b03a187e9 netpbm-10.11.10-r1.ebuild 1655
MD5 0cd1a99c0abe21cc21e065f4c4d8325a netpbm-10.11.12.ebuild 1652
-MD5 23ab592ebd18abbc3a9761bfcc552ee3 netpbm-10.11.13.ebuild 1661
+MD5 8c10970b51b8c2ca4cd62f9beef79682 netpbm-10.11.13.ebuild 1658
MD5 f29a4d5b5c77123ae1f6532da09b5964 netpbm-10.11.5-r3.ebuild 1653
MD5 a3fa57a31d2fddabce1df3b0b1a06137 netpbm-9.12-r4.ebuild 1509
-MD5 23ab592ebd18abbc3a9761bfcc552ee3 netpbm-10.11.13-r1.ebuild 1661
+MD5 944a8d3c699edb2d993c2450268f5f52 netpbm-10.11.13-r1.ebuild 1661
MD5 64b026ccda6561449981438f551614e5 files/digest-netpbm-10.11.10-r1 65
MD5 95144ba442ffc7de89e39d1400559f20 files/digest-netpbm-10.11.12 65
MD5 dd594aafc07831b44b9e2e9734db508e files/digest-netpbm-10.11.13 65
diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.13-r1 b/media-libs/netpbm/files/digest-netpbm-10.11.13-r1
new file mode 100644
index 000000000000..4d7e9e99e06e
--- /dev/null
+++ b/media-libs/netpbm/files/digest-netpbm-10.11.13-r1
@@ -0,0 +1 @@
+MD5 4d14201a3e200e63d2594786bf781e94 netpbm-10.11.13.tgz 1882463
diff --git a/media-libs/netpbm/netpbm-10.11.13-r1.ebuild b/media-libs/netpbm/netpbm-10.11.13-r1.ebuild
new file mode 100644
index 000000000000..891d36c7cea6
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.11.13-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.13-r1.ebuild,v 1.1 2003/09/22 00:31:52 zhen 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
+ x86? ( 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.13.ebuild b/media-libs/netpbm/netpbm-10.11.13.ebuild
index ac22297bb43a..fdced5ed8a5a 100644
--- a/media-libs/netpbm/netpbm-10.11.13.ebuild
+++ b/media-libs/netpbm/netpbm-10.11.13.ebuild
@@ -1,6 +1,6 @@
# 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.13.ebuild,v 1.1 2003/09/21 12:22:05 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.11.13.ebuild,v 1.2 2003/09/22 00:31:52 zhen Exp $
IUSE="svga"
@@ -13,7 +13,7 @@ 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 )"
+ x86? ( svga? ( media-libs/svgalib ) )"
SLOT="0"
LICENSE="GPL-2"