diff options
author | Peter Gavin <pete@gentoo.org> | 2001-02-21 06:39:05 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-02-21 06:39:05 +0000 |
commit | 6e8643e0d3bb73a3640aad74a4b439548372d270 (patch) | |
tree | 29a2bf0f6f5e03e7feefef07ce012ca5cd5a41f9 | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-6e8643e0d3bb73a3640aad74a4b439548372d270.tar.gz gentoo-2-6e8643e0d3bb73a3640aad74a4b439548372d270.tar.bz2 gentoo-2-6e8643e0d3bb73a3640aad74a4b439548372d270.zip |
added media-gfx/netpbm-9.10, media-libs/tiff-3.5.5-r3
-rw-r--r-- | media-gfx/netpbm/files/digest-netpbm-9.10 | 1 | ||||
-rw-r--r-- | media-gfx/netpbm/files/netpbm-9.10-gentoo.diff | 111 | ||||
-rw-r--r-- | media-gfx/netpbm/netpbm-9.10.ebuild | 27 | ||||
-rw-r--r-- | media-libs/tiff/files/config.site-3.5.5-r3 | 12 | ||||
-rw-r--r-- | media-libs/tiff/files/digest-tiff-3.5.5-r3 | 1 | ||||
-rw-r--r-- | media-libs/tiff/tiff-3.5.5-r3.ebuild | 48 |
6 files changed, 200 insertions, 0 deletions
diff --git a/media-gfx/netpbm/files/digest-netpbm-9.10 b/media-gfx/netpbm/files/digest-netpbm-9.10 new file mode 100644 index 000000000000..1ce1e3288c3a --- /dev/null +++ b/media-gfx/netpbm/files/digest-netpbm-9.10 @@ -0,0 +1 @@ +MD5 b39c20ffcc83d5d8474ba4af204caec6 netpbm-9.10.tgz diff --git a/media-gfx/netpbm/files/netpbm-9.10-gentoo.diff b/media-gfx/netpbm/files/netpbm-9.10-gentoo.diff new file mode 100644 index 000000000000..72abad3896b1 --- /dev/null +++ b/media-gfx/netpbm/files/netpbm-9.10-gentoo.diff @@ -0,0 +1,111 @@ +diff -ur netpbm-9.10.orig/Makefile.config netpbm-9.10/Makefile.config +--- netpbm-9.10.orig/Makefile.config Sun Jan 7 13:52:54 2001 ++++ netpbm-9.10/Makefile.config Wed Feb 21 00:17:39 2001 +@@ -50,7 +50,7 @@ + + # MAKE is set automatically by Make to what was used to invoke Make. + +-INSTALL = ginstall ++#INSTALL = ginstall + #Solaris: + #INSTALL = /usr/ucb/install + #Tru64: +@@ -58,13 +58,13 @@ + #OSF1: + #INSTALL = installosf + #Red Hat Linux: +-#INSTALL = install ++INSTALL = install + + # STRIPFLAG is the option you pass to the above install program to make it + # strip unnecessary information out of binaries. +-STRIPFLAG = -s ++#STRIPFLAG = -s + # If you don't want to strip the binaries, just leave it null: +-#STRIPFLAG = ++STRIPFLAG = + + # Normally the man pages are installed using "install". But via this + # variable, you can use something else, for example a script that +@@ -139,10 +139,10 @@ + # independent code, so you need -fpic or fPIC here. (The rule is: if + # -fpic works, use it. If it bombs, go to fPIC). + +-CFLAGS_SHLIB = ++#CFLAGS_SHLIB = + # Solaris, SunOS, and NetBSD: + #CFLAGS_SHLIB = -fpic +-#CFLAGS_SHLIB = -fPIC ++CFLAGS_SHLIB = -fPIC + + # The netpbm package contains a version of the Tiff library, + # libtiff. If you want to use your own, fill in the appropriate paths +@@ -155,8 +155,8 @@ + # but otherwise will not. + + # Use the Tiff library included with Netpbm: +-TIFFHDR_DIR = $(SRCDIR)/libtiff +-TIFFLIB_DIR = $(SRCDIR)/libtiff ++TIFFHDR_DIR = /usr/local/include ++TIFFLIB_DIR = /usr/local/lib + #NetBSD: + #TIFFHDR_DIR = $(LOCALBASE)/include + #TIFFLIB_DIR = $(LOCALBASE)/lib +@@ -166,7 +166,7 @@ + + # If your Tiff library depends on libraries other than libc and libm, + # put the required linker options here. +-TIFFLIB_LDFLAGS = ++TIFFLIB_LDFLAGS = -ljpeg -lz + # libtiff 3.5.5 with the lzw patch needs libz: + #TIFFLIB_LDFLAGS = -lz + +@@ -186,8 +186,8 @@ + # at least JPEGLIB_DIR here, or the tiff converters will not build at + # all. + +-JPEGLIB_DIR = /usr/lib/jpeg +-JPEGHDR_DIR = /usr/include/jpeg ++JPEGLIB_DIR = /usr/lib ++JPEGHDR_DIR = /usr/include + # Netbsd: + #JPEGLIB_DIR = ${LOCALBASE}/lib + #JPEGHDR_DIR = ${LOCALBASE}/include +@@ -208,8 +208,8 @@ + # here. If you do not have the PNG library, and still want to + # successully build everything else, put NONE for these. + +-PNGLIB_DIR = /lib +-PNGHDR_DIR = /usr/include/png ++PNGLIB_DIR = /usr/lib ++PNGHDR_DIR = /usr/include + # NetBSD: + #PNGLIB_DIR = $(LOCALBASE)/lib + #PNGHDR_DIR = $(LOCALBASE)/include +@@ -281,7 +281,7 @@ + #INSTALL_PREFIX = /djgpp + # Typical: + #INSTALL_PREFIX = /usr/local/ +-INSTALL_PREFIX = /usr/local/netpbm ++INSTALL_PREFIX = /usr + + # Some people specify PREFIX= on the command line, because that's conventional + ifneq ($(PREFIX)x,x) +@@ -321,7 +321,7 @@ + # Specify the directory where you want data files that the Neptbm programs + # access to be installed + +-INSTALLDATA = $(INSTALL_PREFIX)/lib ++INSTALLDATA = $(INSTALL_PREFIX)/share/netpbm + + + #NETPBMLIBSUFFIX is the suffix on the filename of the generated and installed +@@ -335,8 +335,3 @@ + NETPBMLIBSUFFIX = so + LIBTIFFSUFFIX = so + endif +- +- +- +- +- diff --git a/media-gfx/netpbm/netpbm-9.10.ebuild b/media-gfx/netpbm/netpbm-9.10.ebuild new file mode 100644 index 000000000000..5b56e7d42b68 --- /dev/null +++ b/media-gfx/netpbm/netpbm-9.10.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Peter Gavin <your email> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/netpbm/netpbm-9.10.ebuild,v 1.1 2001/02/21 06:39:05 pete Exp $ + +#P= +A=${P}.tgz +S=${WORKDIR}/${P} +DESCRIPTION="a set of utilities for converting to/from the netpbm (and related) formats" +SRC_URI="http://download.sourceforge.net/netpbm/${A}" +HOMEPAGE="http://netpbm.sourceforge.net/" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + try make CFLAGS=\""${CFLAGS}"\" +} + +src_install () { + try make INSTALL_PREFIX=\""${D}/usr/"\" install +} diff --git a/media-libs/tiff/files/config.site-3.5.5-r3 b/media-libs/tiff/files/config.site-3.5.5-r3 new file mode 100644 index 000000000000..586ab6ee6757 --- /dev/null +++ b/media-libs/tiff/files/config.site-3.5.5-r3 @@ -0,0 +1,12 @@ +JPEG="yes" +ZIP="yes" +HTML="yes" +DIR_BIN=${D}/usr/bin +DIR_LIB=${D}/usr/lib +DIR_INC=${D}/usr/include +DIR_MAN=${D}/usr/man +DIRS_LIBINC="/usr/include" +DIR_JPEGLIB="/usr/lib" +DIR_GZLIB="/usr/lib" +DSOSUF="so" +#MANSCHEME="bsd-nroff-gzip-0.gz" diff --git a/media-libs/tiff/files/digest-tiff-3.5.5-r3 b/media-libs/tiff/files/digest-tiff-3.5.5-r3 new file mode 100644 index 000000000000..0e42d243be7c --- /dev/null +++ b/media-libs/tiff/files/digest-tiff-3.5.5-r3 @@ -0,0 +1 @@ +MD5 407d65a98c7621ad6e2c64cd3d1e7a40 tiff-v3.5.5.tar.gz diff --git a/media-libs/tiff/tiff-3.5.5-r3.ebuild b/media-libs/tiff/tiff-3.5.5-r3.ebuild new file mode 100644 index 000000000000..6f52bcd290f9 --- /dev/null +++ b/media-libs/tiff/tiff-3.5.5-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.5.5-r3.ebuild,v 1.1 2001/02/21 06:39:05 pete Exp $ + +P=${PN}-v${PV} +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="libtiff" +SRC_URI="http://www.libtiff.org/"${A} +HOMEPAGE="http://www.libtiff.org/" + +DEPEND=">=media-libs/jpeg-6b + >=sys-libs/zlib-1.1.3-r2" + +src_unpack() { + unpack ${A} + cd ${S} + cp ${FILESDIR}/config.site-${PV}-r${PR} config.site + echo "DIR_HTML=\"${D}/usr/share/doc/${PF}/html\"" >> config.site + mv configure configure.orig + sed -e "s:if \[ -r /lib/libc.*:if \[ -r /lib/libc\.so\.6 \]\; then:" \ + configure.orig > configure + chmod +x configure +} + +src_compile() { + try ./configure --noninteractive + + try make OPTIMIZER=\""${CFLAGS}"\" +} + +src_install() { + dodir /usr/{bin,lib,share/man,share/doc/${PF}/html} + + dodir /usr/doc/${PF}/html + try make install + + gzip ${D}/usr/share/doc/${PF}/html/*.html + gzip ${D}/usr/share/doc/${PF}/html/images/* + + rm ${D}/usr/lib/libtiff.so.3 + mv ${D}/usr/lib/libtiff.so.3.5. ${D}/usr/lib/libtiff.so.3.5.5 + preplib /usr + rm -rf ${D}/tiff.sw.tools + + dodoc COPYRIGHT README TODO VERSION +} |