diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-22 00:55:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-22 00:55:22 +0000 |
commit | 8975bac9fbf018fc2033470d2492d2c2a1ae8dd6 (patch) | |
tree | a01453bdd87db1d48e83ba91835d866d4a1deb88 /media-libs/gd/gd-2.0.35.ebuild | |
parent | old (diff) | |
download | gentoo-2-8975bac9fbf018fc2033470d2492d2c2a1ae8dd6.tar.gz gentoo-2-8975bac9fbf018fc2033470d2492d2c2a1ae8dd6.tar.bz2 gentoo-2-8975bac9fbf018fc2033470d2492d2c2a1ae8dd6.zip |
Version bump.
(Portage version: 2.1.3_rc3)
Diffstat (limited to 'media-libs/gd/gd-2.0.35.ebuild')
-rw-r--r-- | media-libs/gd/gd-2.0.35.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/gd/gd-2.0.35.ebuild b/media-libs/gd/gd-2.0.35.ebuild new file mode 100644 index 000000000000..3a42961f1b53 --- /dev/null +++ b/media-libs/gd/gd-2.0.35.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.35.ebuild,v 1.1 2007/06/22 00:55:22 vapier Exp $ + +inherit autotools + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/" +SRC_URI="http://libgd.org/releases/${P}.tar.bz2" + +LICENSE="|| ( as-is BSD )" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="fontconfig jpeg png truetype xpm" + +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 ) + xpm? ( x11-libs/libXpm x11-libs/libXt )" + +src_unpack() { + unpack ${A} + cd "${S}" + eautoconf + find . -type f -print0 | xargs -0 touch -r configure +} + +src_compile() { + econf \ + $(use_with fontconfig) \ + $(use_with png) \ + $(use_with truetype freetype) \ + $(use_with jpeg) \ + $(use_with xpm) \ + || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc INSTALL README* + dohtml -r ./ +} |