# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree." HOMEPAGE="http://www.augeas.net/" SRC_URI="http://augeas.net/download/${P}.tar.gz" LICENSE="GNL" SLOT="0" KEYWORDS="~x86" IUSE="test" DEPEND="sys-libs/readline" RDEPEND="test? ( dev-lang/ruby )" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_test() { cd ${S}/tests emake check || die "Tests failed" } src_install(){ emake DESTDIR="${D}" install || die "install failed" dodoc AUTHORS COPYING ChangeLog README NEWS }