# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit distutils DESCRIPTION="Python wrapper for cairo vector graphics library" HOMEPAGE="http://cairographics.org/" SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc" IUSE="gtk numeric" DEPEND="virtual/python" RDEPEND="${DEPEND} gtk? ( dev-python/pygtk ) numeric? ( dev-python/numeric )" src_install() { distutils_src_install } src_compile() { econf || die emake || die "emake failed" } src_install() { einstall || die "install failed" }