blob: c92b7255008fdec0fe6f1baf2e064d6873234dd4 (
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
36
37
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.32.ebuild,v 1.5 2005/08/20 03:51:09 vapier Exp $
inherit eutils
DESCRIPTION="A graphics library for fast image creation"
HOMEPAGE="http://www.boutell.com/gd/"
SRC_URI="http://www.boutell.com/gd/http/${P}.tar.gz"
LICENSE="|| ( as-is BSD )"
SLOT="2"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sparc x86"
IUSE="fontconfig jpeg png X truetype"
DEPEND="fontconfig? ( media-libs/fontconfig )
jpeg? ( >=media-libs/jpeg-6b )
png? ( >=media-libs/libpng-1.2.5 sys-libs/zlib )
truetype? ( >=media-libs/freetype-2.1.5 )
X? ( virtual/x11 )"
src_compile() {
econf \
$(use_with fontconfig) \
$(use_with png) \
$(use_with truetype freetype) \
$(use_with jpeg) \
$(use_with X xpm) \
|| die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc INSTALL README*
dohtml -r ./
}
|