summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-03-06 22:10:12 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-03-06 22:10:12 +0000
commit2cdc6655b232c97d43e657b4633c7a9e0e76e7ce (patch)
treef2000fdeb5754ea113a180f0e1e0596acb7c3f01 /media-libs
parentsome fixes; mark stable for x86 (diff)
downloadgentoo-2-2cdc6655b232c97d43e657b4633c7a9e0e76e7ce.tar.gz
gentoo-2-2cdc6655b232c97d43e657b4633c7a9e0e76e7ce.tar.bz2
gentoo-2-2cdc6655b232c97d43e657b4633c7a9e0e76e7ce.zip
fix libnetpbm.so symlink not installing
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/netpbm/ChangeLog7
-rw-r--r--media-libs/netpbm/files/digest-netpbm-10.11.5-r11
-rw-r--r--media-libs/netpbm/netpbm-10.11.5-r1.ebuild77
3 files changed, 84 insertions, 1 deletions
diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog
index a314b5946990..466b2350a023 100644
--- a/media-libs/netpbm/ChangeLog
+++ b/media-libs/netpbm/ChangeLog
@@ -1,6 +1,11 @@
# 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.15 2003/02/23 02:53:29 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.16 2003/03/06 22:10:12 azarah Exp $
+
+*netpbm-10.11.5-r1 (06 March 2003)
+
+ 06 March 2003; Martin Schlemmer <azarah@gentoo.org> netpbm-10.11.5-r1.ebuild :
+ Fix /usr/lib/libnetpbm.so symlink not being created.
*netpbm-10.11.5 (13 Feb 2003)
diff --git a/media-libs/netpbm/files/digest-netpbm-10.11.5-r1 b/media-libs/netpbm/files/digest-netpbm-10.11.5-r1
new file mode 100644
index 000000000000..c6a2172516e9
--- /dev/null
+++ b/media-libs/netpbm/files/digest-netpbm-10.11.5-r1
@@ -0,0 +1 @@
+MD5 3a10f98234d81bd0731c721a3a2b2876 netpbm-10.11.5.tgz 1910762
diff --git a/media-libs/netpbm/netpbm-10.11.5-r1.ebuild b/media-libs/netpbm/netpbm-10.11.5-r1.ebuild
new file mode 100644
index 000000000000..c14735ad8a91
--- /dev/null
+++ b/media-libs/netpbm/netpbm-10.11.5-r1.ebuild
@@ -0,0 +1,77 @@
+# 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-r1.ebuild,v 1.1 2003/03/06 22:10:12 azarah Exp $
+
+IUSE="svga pic"
+
+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"
+
+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
+
+ if [ -n "`use pic`" ]
+ then
+ CFLAGS="${CFLAGS} -fPIC"
+ 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/*
+}
+