diff options
author | 2000-08-26 20:41:56 +0000 | |
---|---|---|
committer | 2000-08-26 20:41:56 +0000 | |
commit | 7554db96a47b45a414f9747e84339da3177a84ca (patch) | |
tree | 15824a41e415a940229efb1f1375572f4f587b62 /media-libs | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-7554db96a47b45a414f9747e84339da3177a84ca.tar.gz gentoo-2-7554db96a47b45a414f9747e84339da3177a84ca.tar.bz2 gentoo-2-7554db96a47b45a414f9747e84339da3177a84ca.zip |
*** empty log message ***
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/tiff/files/digest-tiff-3.5.5-r1 | 1 | ||||
-rw-r--r-- | media-libs/tiff/tiff-3.5.5-r1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/tiff/files/digest-tiff-3.5.5-r1 b/media-libs/tiff/files/digest-tiff-3.5.5-r1 new file mode 100644 index 000000000000..0e42d243be7c --- /dev/null +++ b/media-libs/tiff/files/digest-tiff-3.5.5-r1 @@ -0,0 +1 @@ +MD5 407d65a98c7621ad6e2c64cd3d1e7a40 tiff-v3.5.5.tar.gz diff --git a/media-libs/tiff/tiff-3.5.5-r1.ebuild b/media-libs/tiff/tiff-3.5.5-r1.ebuild new file mode 100644 index 000000000000..8b5bec8a126d --- /dev/null +++ b/media-libs/tiff/tiff-3.5.5-r1.ebuild @@ -0,0 +1,54 @@ +# 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-r1.ebuild,v 1.1 2000/08/26 20:41:56 achim Exp $ + +P=tiff-v3.5.5 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="libtiff" +SRC_URI="http://www.libtiff.org/"${A} +HOMEPAGE="http://www.libtiff.org/" + +src_compile() { + cd ${S} + ./configure --noninteractive + cd libtiff + cp Makefile Makefile.orig + sed -e "s/-O/${CFLAGS}/" Makefile.orig > Makefile + cd ../tools + cp Makefile Makefile.orig + sed -e "s/-O/${CFLAGS}/" Makefile.orig > Makefile + cd .. + make +} + +src_unpack() { + unpack ${A} + cd ${S} + cp ${O}/files/config.site . + echo "DIR_HTML=\"${D}/usr/doc/${PF}/html\"" >> config.site + cp configure configure.orig + sed -e "s:if \[ -r /lib/libc.*:if \[ -r /lib/libc\.so\.6 \]\; then:" \ + configure.orig > configure +} + +src_install() { + + cd ${S} + into /usr + dodir /usr/bin + dodir /usr/lib + dodir /usr/man + dodir /usr/doc + dodoc COPYRIGHT README TODO VERSION + dodir /usr/doc/${PF}/html + make install + prepman + gzip ${D}/usr/doc/${PF}/html/*.html + gzip ${D}/usr/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 + rm -r /tiff.sw.tools +} + |