/[gentoo-x86]/app-admin/elektra/elektra-0.7.1.ebuild
Gentoo

Contents of /app-admin/elektra/elektra-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Nov 4 11:23:30 2012 UTC (5 years, 8 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Fix includes of renamed headers, drop old

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/elektra-0.7.1.ebuild,v 1.6 2012/06/23 07:47:24 ssuominen Exp $
4
5 EAPI=4
6
7 inherit autotools eutils
8
9 DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
10 HOMEPAGE="http://sourceforge.net/projects/elektra/"
11 SRC_URI="ftp://ftp.markus-raab.org/${PN}/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="iconv static-libs test"
17
18 RDEPEND="dev-libs/libxml2"
19 DEPEND="${RDEPEND}
20 sys-devel/libtool
21 iconv? ( virtual/libiconv )
22 test? ( dev-libs/libxml2[static-libs] )"
23
24 src_prepare() {
25 einfo 'Removing bundled libltdl'
26 rm -rf libltdl || die
27
28 epatch \
29 "${FILESDIR}"/${P}-test.patch \
30 "${FILESDIR}"/${P}-ltdl.patch \
31 "${FILESDIR}"/${P}-automake-1.12.patch
32
33 touch config.rpath
34 eautoreconf
35 }
36
37 src_configure() {
38 # berkeleydb, daemon, fstab, gconf, python do not work
39 econf \
40 --enable-filesys \
41 --enable-hosts \
42 --enable-ini \
43 --enable-passwd \
44 --disable-berkeleydb \
45 --disable-fstab \
46 --disable-gconf \
47 --disable-daemon \
48 --enable-cpp \
49 --disable-python \
50 --enable-gcov \
51 $(use_enable iconv) \
52 $(use_enable static-libs static) \
53 --with-docdir=/usr/share/doc/${PF} \
54 --with-develdocdir=/usr/share/doc/${PF}
55 }
56
57 src_install() {
58 emake DESTDIR="${D}" install
59
60 if ! use static-libs; then
61 find "${D}" -name "*.a" -delete || die
62 fi
63
64 dodoc AUTHORS ChangeLog NEWS README TODO
65 }

  ViewVC Help
Powered by ViewVC 1.1.20