diff options
Diffstat (limited to 'dev-libs/serd')
-rw-r--r-- | dev-libs/serd/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/serd/files/ldconfig.patch | 12 | ||||
-rw-r--r-- | dev-libs/serd/metadata.xml | 10 | ||||
-rw-r--r-- | dev-libs/serd/serd-0.4.2.ebuild | 47 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-libs/serd/ChangeLog b/dev-libs/serd/ChangeLog new file mode 100644 index 000000000000..39f877c9433f --- /dev/null +++ b/dev-libs/serd/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/serd +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/ChangeLog,v 1.1 2011/05/27 05:31:27 aballier Exp $ + +*serd-0.4.2 (27 May 2011) + + 27 May 2011; Alexis Ballier <aballier@gentoo.org> +serd-0.4.2.ebuild, + +files/ldconfig.patch, +metadata.xml: + initial import, ebuild by me + diff --git a/dev-libs/serd/files/ldconfig.patch b/dev-libs/serd/files/ldconfig.patch new file mode 100644 index 000000000000..80567b1dc77e --- /dev/null +++ b/dev-libs/serd/files/ldconfig.patch @@ -0,0 +1,12 @@ +Index: serd-0.4.2/wscript +=================================================================== +--- serd-0.4.2.orig/wscript ++++ serd-0.4.2/wscript +@@ -125,7 +125,6 @@ def build(bld): + # Man page + bld.install_files('${MANDIR}/man1', 'doc/serdi.1') + +- bld.add_post_fun(autowaf.run_ldconfig) + if bld.env['DOCS']: + bld.add_post_fun(fix_docs) + diff --git a/dev-libs/serd/metadata.xml b/dev-libs/serd/metadata.xml new file mode 100644 index 000000000000..1026eab86322 --- /dev/null +++ b/dev-libs/serd/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +<longdescription lang="en"> + Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. + + Serd is not intended to be a swiss-army knife of RDF syntax, but rather is suited to resource limited or performance critical applications, or situations where a simple reader/writer with minimal dependencies is ideal (e.g. in LV2 hosts or plugins). +</longdescription> +</pkgmetadata> diff --git a/dev-libs/serd/serd-0.4.2.ebuild b/dev-libs/serd/serd-0.4.2.ebuild new file mode 100644 index 000000000000..1e77eb2229d0 --- /dev/null +++ b/dev-libs/serd/serd-0.4.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/serd/serd-0.4.2.ebuild,v 1.1 2011/05/27 05:31:27 aballier Exp $ + +EAPI=3 + +inherit base multilib + +DESCRIPTION="Library for RDF syntax which supports reading and writing Turtle and NTriples" +HOMEPAGE="http://drobilla.net/software/serd/" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug doc test" + +RDEPEND="" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}/ldconfig.patch" ) + +src_configure() { + ./waf configure \ + --prefix=/usr \ + --libdir="/usr/$(get_libdir)" \ + --mandir=/usr/share/man \ + --docdir=/usr/share/doc/${PF} \ + $(use debug && echo "--debug") \ + $(use test && echo "--test") \ + $(use doc && echo "--docs") \ + || die +} + +src_compile() { + ./waf || die +} + +src_test() { + ./waf test || die +} + +src_install() { + ./waf install --destdir="${D}" || die + dodoc AUTHORS README ChangeLog || die +} |