aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/agg/agg-2.3.ebuild')
-rw-r--r--x11-libs/agg/agg-2.3.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-libs/agg/agg-2.3.ebuild b/x11-libs/agg/agg-2.3.ebuild
new file mode 100644
index 000000000..27fc58014
--- /dev/null
+++ b/x11-libs/agg/agg-2.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils versionator autotools
+
+MY_PV="$(delete_all_version_separators ${PV})"
+S="${WORKDIR}/${PN}${MY_PV}"
+
+DESCRIPTION="Anti-Grain Geometry - A High Quality Rendering Engine for C++"
+HOMEPAGE="http://antigrain.com/"
+SRC_URI="http://antigrain.com/${PN}${MY_PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="virtual/x11"
+DEPEND="${RDEPEND}
+ >=media-libs/freetype-2"
+
+src_compile() {
+ use examples || sed -i -e 's/examples//' Makefile.am
+ eautoreconf || die "eautoreconf failed"
+ econf || die "econf failed"
+ emake || die "make failed!"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed!"
+ dodoc readme README.txt authors ChangeLog news
+ insinto /usr/share/doc/${P}
+ doins -r tutorial
+}
+