You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.9.0.ebuild,v 1.6 2012/08/05 18:25:43 armin76 Exp $
|
|
|
|
EAPI="4"
|
|
inherit eutils
|
|
|
|
DESCRIPTION="A library for changing configuration files"
|
|
HOMEPAGE="http://augeas.net/"
|
|
SRC_URI="http://augeas.net/download/${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 hppa ppc sparc x86"
|
|
IUSE="static-libs test"
|
|
|
|
RDEPEND="sys-libs/readline"
|
|
DEPEND="${RDEPEND}
|
|
>=app-doc/NaturalDocs-1.40
|
|
test? ( dev-lang/ruby )"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}-gnulib-test.patch"
|
|
|
|
if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
|
|
addwrite /usr/share/NaturalDocs/Config/Languages.txt
|
|
fi
|
|
if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
|
|
addwrite /usr/share/NaturalDocs/Config/Topics.txt
|
|
fi
|
|
}
|
|
|
|
src_configure() {
|
|
econf $(use_enable static-libs static) || die
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
use static-libs || find "${ED}" -name '*.la' -delete
|
|
|
|
dodoc AUTHORS ChangeLog README NEWS
|
|
}
|