diff options
author | 2003-03-20 13:59:36 +0000 | |
---|---|---|
committer | 2003-03-20 13:59:36 +0000 | |
commit | a9f03085bf7ac278ee422ca608a6546b0e328ab3 (patch) | |
tree | 45d3dd0e5299459f8a4ae701000c4fec1d951829 /media-libs/netpbm/netpbm-10.11.5-r2.ebuild | |
parent | *** empty log message *** (diff) | |
download | historical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.tar.gz historical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.tar.bz2 historical-a9f03085bf7ac278ee422ca608a6546b0e328ab3.zip |
Removed usage of pic USE flag
Diffstat (limited to 'media-libs/netpbm/netpbm-10.11.5-r2.ebuild')
-rw-r--r-- | media-libs/netpbm/netpbm-10.11.5-r2.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
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/* +} + |