blob: 6d8aaacef1ca1c0ac306fef1594868f8e9796327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2002 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.7.ebuild,v 1.3 2002/04/27 11:51:24 seemant Exp $
MY_P=${P/tiff-/tiff-v}
S=${WORKDIR}/${MY_P}
DESCRIPTION="libtiff"
SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${MY_P}.tar.gz"
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 config.site
echo "DIR_HTML="${D}/usr/share/doc/${PF}/html"" >> config.site
}
src_compile() {
OPTIMIZER="${CFLAGS}" ./configure --noninteractive || die
emake || die
}
src_install() {
dodir /usr/{bin,lib,share/man,share/doc/${PF}/html}
dodir /usr/share/doc/${PF}/html
make INSTALL="/bin/sh ${S}/port/install.sh" install || die
prepalldocs
preplib /usr
dodoc COPYRIGHT README TODO VERSION
}
|