summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/hippo-canvas/hippo-canvas-0.2.23.ebuild')
-rw-r--r--x11-libs/hippo-canvas/hippo-canvas-0.2.23.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-libs/hippo-canvas/hippo-canvas-0.2.23.ebuild b/x11-libs/hippo-canvas/hippo-canvas-0.2.23.ebuild
new file mode 100644
index 000000000..c31ce0a7c
--- /dev/null
+++ b/x11-libs/hippo-canvas/hippo-canvas-0.2.23.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit autotools gnome.org eutils
+
+DESCRIPTION="A canvas library based on GTK+-2, Cairo, and Pango"
+HOMEPAGE="http://developer.mugshot.org/wiki/Hippo_Canvas"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc python"
+
+RDEPEND=">=dev-libs/glib-2.6
+ >=x11-libs/gtk+-2.6
+ python? ( dev-lang/python
+ dev-python/pycairo
+ dev-python/pygtk )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.6 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-use-python.patch"
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_enable doc gtk-doc) $(use_enable python) ||
+ die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS README TODO || die "dodoc failed"
+}