summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Forest <vitaminmoo@gentoo.org>2003-03-20 13:59:36 +0000
committerGraham Forest <vitaminmoo@gentoo.org>2003-03-20 13:59:36 +0000
commita9f03085bf7ac278ee422ca608a6546b0e328ab3 (patch)
tree45d3dd0e5299459f8a4ae701000c4fec1d951829 /media-libs/netpbm
parent*** empty log message *** (diff)
downloadhistorical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.tar.gz
historical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.tar.bz2
historical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.zip
Removed usage of pic USE flag
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/ChangeLog8
-rw-r--r--media-libs/netpbm/files/digest-netpbm-10.11.4-r11
-rw-r--r--media-libs/netpbm/files/digest-netpbm-10.11.5-r21
-rw-r--r--media-libs/netpbm/netpbm-10.11.4-r1.ebuild68
-rw-r--r--media-libs/netpbm/netpbm-10.11.5-r2.ebuild72
5 files changed, 149 insertions, 1 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index 3dfb7eae645f..5d5e68ca22d0 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.17 2003/03/09 19:58:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.18 2003/03/20 13:59:36 vladimir Exp $
+
+*netpbm-10.11.5-r2 (20 Mar 2003)
+
+ 20 Mar 2003; Graham Forest <vladimir@gentoo.org> netpbm-10.11.4-r1.ebuild,
+ netpbm-10.11.5-r2.ebuild:
+ Removed usage of pic USE flag
*netpbm-10.11.5-r1 (06 March 2003)
diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.4-r1 b/media-libs/netpbm/files/digest-netpbm-10.11.4-r1
new file mode 100644
index 000000000000..12a111ff3e18
--- /dev/null
+++ b/media-libs/netpbm/files/digest-netpbm-10.11.4-r1
@@ -0,0 +1 @@
+MD5 219b4b50d72892f1957e874f8571b27d netpbm-10.11.4.tgz 1910649
diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.5-r2 b/media-libs/netpbm/files/digest-netpbm-10.11.5-r2
new file mode 100644
index 000000000000..c6a2172516e9
--- /dev/null
+++ b/media-libs/netpbm/files/digest-netpbm-10.11.5-r2
@@ -0,0 +1 @@
+MD5 3a10f98234d81bd0731c721a3a2b2876 netpbm-10.11.5.tgz 1910762
diff --git a/media-libs/netpbm/netpbm-10.11.4-r1.ebuild b/media-libs/netpbm/netpbm-10.11.4-r1.ebuild
new file mode 100644
index 000000000000..919b073dae24
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.11.4-r1.ebuild
@@ -0,0 +1,68 @@
+# 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.4-r1.ebuild,v 1.1 2003/03/20 13:59:36 vladimir Exp $
+
+IUSE="svga"
+
+S=${WORKDIR}/${P}
+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"
+
+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
+
+ sed <${FILESDIR}/${PV}/Makefile.${cfg} >Makefile.config \
+ -e "s|-O3|${CFLAGS}|"
+}
+
+src_compile() {
+ MAKEOPTS="${MAKEOPTS} -j1"
+ emake CC="${CC}" CXX="${CXX}"|| die
+}
+
+src_install () {
+ make package pkgdir=${D}/usr/ || die
+
+ 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
+# mv ${D}/usr/misc/* ${D}/usr/lib
+ rm -rf ${D}/usr/misc
+
+ #dosym /usr/bin/gemtopnm /usr/bin/gemtopbm
+ #dosym /usr/bin/pnmtoplainpnm /usr/bin/pnmnoraw
+
+ #insinto /usr/include
+ #doins pnm/{pam,pnm}.h ppm/{ppm,pgm,pbm}.h
+ #doins pbmplus.h shhopt/shhopt.h
+ dodoc COPYRIGHT.PATENT GPL_LICENSE.txt HISTORY \
+ Netpbm.programming README* netpbm.lsm \
+ doc/*
+}
+
diff --git a/media-libs/netpbm/netpbm-10.11.5-r2.ebuild b/media-libs/netpbm/netpbm-10.11.5-r2.ebuild
new file mode 100644
index 000000000000..585092fab1f7
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.11.5-r2.ebuild
@@ -0,0 +1,72 @@
+# 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-r2.ebuild,v 1.1 2003/03/20 13:59:36 vladimir Exp $
+
+IUSE="svga"
+
+S=${WORKDIR}/${P}
+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"
+
+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
+
+ sed <${FILESDIR}/${PV}/Makefile.${cfg} >Makefile.config \
+ -e "s|-O3|${CFLAGS}|"
+}
+
+src_compile() {
+ MAKEOPTS="${MAKEOPTS} -j1"
+ emake CC="${CC}" CXX="${CXX}"|| die
+}
+
+src_install () {
+ make package pkgdir=${D}/usr/ || die
+
+ # 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
+# mv ${D}/usr/misc/* ${D}/usr/lib
+ rm -rf ${D}/usr/misc
+
+ #dosym /usr/bin/gemtopnm /usr/bin/gemtopbm
+ #dosym /usr/bin/pnmtoplainpnm /usr/bin/pnmnoraw
+
+ #insinto /usr/include
+ #doins pnm/{pam,pnm}.h ppm/{ppm,pgm,pbm}.h
+ #doins pbmplus.h shhopt/shhopt.h
+
+ dodoc COPYRIGHT.PATENT GPL_LICENSE.txt HISTORY \
+ Netpbm.programming README* netpbm.lsm \
+ doc/*
+}
+