diff options
author | Michael Weber <xmw@gentoo.org> | 2010-04-08 16:10:59 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-04-08 16:10:59 +0000 |
commit | 4e529cc79655b09c17091c2d9332bc7a3dfc400f (patch) | |
tree | 48599492bda48ff58c8f86409f53628cdad134cf /app-admin | |
parent | dev-python/django-haystack: Add support for Python ABIs and adjust the Python... (diff) | |
download | sunrise-4e529cc79655b09c17091c2d9332bc7a3dfc400f.tar.gz sunrise-4e529cc79655b09c17091c2d9332bc7a3dfc400f.tar.bz2 sunrise-4e529cc79655b09c17091c2d9332bc7a3dfc400f.zip |
app-admin/elektra: New Ebuild for bug 63417
svn path=/sunrise/; revision=10417
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/elektra/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/elektra/Manifest | 4 | ||||
-rw-r--r-- | app-admin/elektra/elektra-0.7.0.ebuild | 63 | ||||
-rw-r--r-- | app-admin/elektra/metadata.xml | 8 |
4 files changed, 83 insertions, 0 deletions
diff --git a/app-admin/elektra/ChangeLog b/app-admin/elektra/ChangeLog new file mode 100644 index 000000000..f433042d5 --- /dev/null +++ b/app-admin/elektra/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-admin/elektra +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de> +elektra-0.7.0.ebuild, + +metadata.xml: + New Ebuild for bug 63417 + diff --git a/app-admin/elektra/Manifest b/app-admin/elektra/Manifest new file mode 100644 index 000000000..333f3a0d3 --- /dev/null +++ b/app-admin/elektra/Manifest @@ -0,0 +1,4 @@ +DIST elektra-0.7.0.tar.gz 1737447 RMD160 1e61efd5bc36cd90a3a4b0ecfb78e1a75c005cad SHA1 1d0aac0a654660cba0965e7b2998b3f312a9ba96 SHA256 2384de7e2339a6778e529a087efca53422620192767795ef98e516cb61a58245 +EBUILD elektra-0.7.0.ebuild 1661 RMD160 c86880e1c6dc6182eb62458278aa2d4d7fddb044 SHA1 2aa92651b2c9d80f629e0408b28c4ed09db892bd SHA256 dd42dcacc8eac2908e27467b4dac8c073649e91ef06046cd7e16bc268fd52ee9 +MISC ChangeLog 237 RMD160 7e8b009475657e0563fe6306791219bd93a49ec0 SHA1 a419d87e212737766177b1c8aef484c08d3820a9 SHA256 dbb43ddd073520394e107714e21a7c722b4274f205dc869e2e85ba16f9c9508d +MISC metadata.xml 254 RMD160 70712134bbffbdd1d847d527a78348cec9c03c77 SHA1 7b5de0251b59bf5169cb90d995161854fd3e21aa SHA256 741441e6d691145cdae1bbb22fd18579d954e9d7ff40cad6be466adfad71d096 diff --git a/app-admin/elektra/elektra-0.7.0.ebuild b/app-admin/elektra/elektra-0.7.0.ebuild new file mode 100644 index 000000000..123f8117c --- /dev/null +++ b/app-admin/elektra/elektra-0.7.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +DESCRIPTION="Provides an alternative back-end for configuration files" +HOMEPAGE="http://elektra.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="coverage debug doc examples iconv test" + +RDEPEND="dev-libs/libxml2 + sys-devel/libtool + coverage? ( dev-util/lcov )" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + doc? ( app-doc/doxygen )" + +src_configure() { + # berkeleydb, daemon, fstab, gconf, python do not work + econf \ + --disable-berkeleydb \ + $(use_enable coverage gcov) \ + --enable-cpp \ + --disable-daemon \ + $(use_enable debug) \ + --disable-fstab \ + --disable-gconf \ + $(use_with iconv) \ + --enable-ini \ + --enable-passwd \ + --disable-python \ + --disable-static \ + $(use_enable test xmltest) \ + --with-docdir=/usr/share/doc/${PF} \ + --with-develdocdir=/usr/share/doc/${PF} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO || die + if ! use doc ; then + rm -r "${D}"/usr/share/doc/${PF}/api-html || die + fi + if ! use examples ; then + rm -r "${D}"/usr/share/doc/${PF}/scripts || die + fi + + # collision with media-libs/allegro + mv -v "${D}"/usr/share/man/man3/key.3 "${D}"/usr/share/man/man3/elektra-key.3 || die +} + +pkg_postinst() { + DTVERSION=`find /usr/share/sgml -name elektra.xsd | tail -n 1` + kdb set system/sw/kdb/current/schemapath "${DTVERSION}" + einfo "See manpages elektra and kdb for more information." + einfo "man 3 key has been moved to man 3 elektra-key." +} diff --git a/app-admin/elektra/metadata.xml b/app-admin/elektra/metadata.xml new file mode 100644 index 000000000..1ca1c5392 --- /dev/null +++ b/app-admin/elektra/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>maintainer-wanted</herd> + <use> + <flag name='coverage'>Turn on code coverage analysis tools</flag> + </use> +</pkgmetadata> |