# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit flag-o-matic mercurial DESCRIPTION="High-performance C development framework. Can be used stand-alone or as a supplement to GLib." HOMEPAGE="http://www.atheme.org/projects/mowgli.shtml" EHG_REPO_URI="http://hg.atheme-project.org/libmowgli" IUSE="examples" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" S="${WORKDIR}/${PN}" src_unpack() { mercurial_src_unpack cd "${S}" ./autogen.sh } src_compile() { econf \ $(use_enable examples) \ || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS }