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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Jul 30 22:49:14 2014 UTC (5 years, 8 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump (bug 497132, big thanks to Andreas Sturmlechner for writing the ebuild update)

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

1 xmw 1.1 # Copyright 1999-2014 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.8.3-r3.ebuild,v 1.1 2014/06/22 10:01:43 mgorny Exp $
4    
5     EAPI=5
6    
7     inherit cmake-multilib eutils
8    
9     DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
10     HOMEPAGE="http://freedesktop.org/wiki/Software/Elektra"
11     SRC_URI="ftp://ftp.markus-raab.org/${PN}/releases/${P}.tar.gz"
12    
13     LICENSE="BSD"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE="dbus doc examples iconv simpleini static-libs syslog tcl test +uname xml yajl"
17    
18     RDEPEND=">=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
19     dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
20     iconv? ( >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] )
21     uname? ( sys-apps/coreutils )
22     yajl? (
23     <dev-libs/yajl-2[${MULTILIB_USEDEP}]
24     >=dev-libs/yajl-1.0.11-r1[${MULTILIB_USEDEP}]
25     )"
26     DEPEND="${RDEPEND}
27     sys-devel/libtool
28     doc? ( app-doc/doxygen )"
29    
30     DOCS="doc/AUTHORS doc/CHANGES doc/NEWS doc/README doc/todo/TODO"
31     # tries to write to user's home directory (and doesn't respect HOME)
32     RESTRICT="test"
33    
34     src_prepare() {
35    
36     #move doc files to correct location
37     sed -e "s/elektra-api/${PF}/" \
38     -i cmake/ElektraCache.cmake || die
39    
40     cmake-utils_src_prepare
41     }
42    
43     multilib_src_configure() {
44     local my_plugins="ccode;dump;error;fstab;glob;hexcode;hidden;hosts;network;ni;null;path;resolver;struct;success;template;timeofday;tracer;type;validation"
45    
46     use dbus && my_plugins+=";dbus"
47     use doc && my_plugins+=";doc"
48     use iconv && my_plugins+=";iconv"
49     use simpleini && my_plugins+=";simpleini"
50     use syslog && my_plugins+=";syslog"
51     use tcl && my_plugins+=";tcl"
52     use uname && my_plugins+=";uname"
53     use xml && my_plugins+=";xmltool"
54     use yajl && my_plugins+=";yajl"
55    
56     mycmakeargs=(
57     "-DPLUGINS=${my_plugins}"
58     "-DLATEX_COMPILER=OFF"
59     "-DTARGET_CMAKE_FOLDER=share/cmake/Modules"
60     $(multilib_is_native_abi && cmake-utils_use doc BUILD_DOCUMENTATION \
61     || echo -DBUILD_DOCUMENTATION=OFF)
62     $(multilib_is_native_abi && cmake-utils_use examples BUILD_EXAMPLES \
63     || echo -DBUILD_EXAMPLES=OFF)
64     $(cmake-utils_use static-libs BUILD_STATIC)
65     $(cmake-utils_use test BUILD_TESTING)
66     )
67    
68     cmake-utils_src_configure
69     }

  ViewVC Help
Powered by ViewVC 1.1.20