blob: 2073381a776c62ad6561303763232bd660147ee3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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.10.0-r1.ebuild,v 1.1 2012/11/07 20:19:28 jlec Exp $
EAPI=5
inherit autotools-utils
DESCRIPTION="A library for changing configuration files"
HOMEPAGE="http://augeas.net/"
SRC_URI="http://augeas.net/download/${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE="static-libs test"
RDEPEND="
dev-libs/libxml2
sys-libs/readline"
DEPEND="${RDEPEND}
virtual/pkgconfig
>=app-doc/NaturalDocs-1.40
test? ( dev-lang/ruby )"
PATCHES=(
"${FILESDIR}"/${P}-gets.patch
"${FILESDIR}"/${P}-test.patch
"${FILESDIR}"/${P}-test2.patch
"${FILESDIR}"/${P}-libxml2-pkgconfig.patch
)
src_prepare() {
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
autotools-utils_src_prepare
}
src_configure() {
# Needs to implemented
local myeconfargs=( --without-selinux )
autotools-utils_src_configure
}
AUTOTOOLS_IN_SOURCE_BUILD=1
|