# Copyright 2006-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit eutils DESCRIPTION="Chinese Lunar library." HOMEPAGE="http://code.google.com/p/liblunar/" SRC_URI="http://liblunar.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="introspection nls static-libs" RDEPEND=">=dev-libs/glib-2.4 >=dev-python/pygobject-2.4 introspection? ( dev-libs/gobject-introspection )" DEPEND="${RDEPEND}" src_configure() { econf \ $(use_enable introspection) \ $(use_enable nls) \ $(use_enable static-libs static) \ || die "Configuration failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" }