diff options
Diffstat (limited to 'x11-libs/agg/agg-2.5.ebuild')
-rw-r--r-- | x11-libs/agg/agg-2.5.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-libs/agg/agg-2.5.ebuild b/x11-libs/agg/agg-2.5.ebuild new file mode 100644 index 000000000000..3c5c91d9c573 --- /dev/null +++ b/x11-libs/agg/agg-2.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/agg/agg-2.5.ebuild,v 1.1 2006/11/05 20:34:59 genstef Exp $ + +inherit eutils autotools + +DESCRIPTION="Anti-Grain Geometry - A High Quality Rendering Engine for C++" +HOMEPAGE="http://antigrain.com/" +SRC_URI="http://antigrain.com/${P}.tar.gz" +LICENSE="X11" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sdl truetype X" + +DEPEND="sdl? ( >=media-libs/libsdl-1.2.0 ) + X? ( x11-libs/libX11 ) + truetype? ( >=media-libs/freetype-2 )" + +src_compile() { + eautoreconf || die "eautoreconf failed" + # examples are not (yet) installed, so do not compile them + econf \ + --enable-ctrl \ + --enable-gpc \ + --disable-examples \ + $(use_enable sdl sdltest) \ + $(use_enable truetype freetype) \ + $(use_with X x) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc readme authors ChangeLog news +} |