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 /media-libs | |
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
Diffstat (limited to 'media-libs')
-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 |
3 files changed, 61 insertions, 0 deletions
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 +} |