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.
50 lines
921 B
50 lines
921 B
6 years ago
|
# Copyright 1999-2018 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
8 years ago
|
|
||
7 years ago
|
inherit autotools
|
||
8 years ago
|
|
||
|
DESCRIPTION="A library for changing configuration files"
|
||
|
HOMEPAGE="http://augeas.net/"
|
||
|
SRC_URI="http://download.augeas.net/${P}.tar.gz"
|
||
|
|
||
|
SLOT="0"
|
||
|
LICENSE="LGPL-2.1"
|
||
7 years ago
|
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ~ppc64 sparc x86"
|
||
8 years ago
|
IUSE="static-libs test"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-libs/libxml2
|
||
|
sys-libs/readline:="
|
||
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig
|
||
|
>=app-doc/NaturalDocs-1.40
|
||
|
test? ( dev-lang/ruby )"
|
||
|
|
||
7 years ago
|
PATCHES=(
|
||
|
)
|
||
8 years ago
|
|
||
|
src_prepare() {
|
||
7 years ago
|
default
|
||
6 years ago
|
eautoreconf
|
||
8 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
6 years ago
|
# selinux needs to implemented
|
||
|
econf \
|
||
|
--without-selinux \
|
||
|
$(use_enable static-libs static)
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
addpredict /usr/share/NaturalDocs/Config/Languages.txt
|
||
|
addpredict /usr/share/NaturalDocs/Config/Topics.txt
|
||
|
default
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
7 years ago
|
default
|
||
6 years ago
|
use static-libs || find "${D}" -name '*.la' -delete || die
|
||
8 years ago
|
}
|