diff options
Diffstat (limited to 'media-libs/netpbm/netpbm-10.11.4.ebuild')
-rw-r--r-- | media-libs/netpbm/netpbm-10.11.4.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/netpbm/netpbm-10.11.4.ebuild b/media-libs/netpbm/netpbm-10.11.4.ebuild new file mode 100644 index 000000000000..1b29e5fa0575 --- /dev/null +++ b/media-libs/netpbm/netpbm-10.11.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 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.ebuild,v 1.1 2003/01/05 12:12:18 mholzer Exp $ + +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" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc" + +src_unpack() { + unpack ${A} + cd ${S} + sed <${FILESDIR}/${PV}/Makefile.config >Makefile.config \ + -e "s|-O3|${CFLAGS}|" +} + +src_compile() { + make || die +} + +src_install () { + make INSTALL_PREFIX="${D}/usr/" install || die + + # fix broken symlinks + 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 +} + |