# Copyright 2006-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit eutils DESCRIPTION="Chinese Lunar GTK+ 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="doc introspection nls static-libs" RDEPEND=">=x11-libs/lunar-date-2.4 >=x11-libs/gtk+-2.28.6 >=x11-libs/gdk-pixbuf-2.23 introspection? ( dev-libs/gobject-introspection )" DEPEND="${RDEPEND}" src_configure() { econf \ $(use_enable doc gtk-doc) \ $(use_enable introspection) \ $(use_enable nls) \ $(use_enable static-libs static) \ || die "Configuration failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" }