summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-05-27 05:31:28 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-05-27 05:31:28 +0000
commita38bf1eb4f95971c3cf85875cc9b2042a23cacaf (patch)
tree8d79d332ff867dfba00735f2812a62fd1cb7947f /dev-libs/serd
parentversion bump (diff)
downloadgentoo-2-a38bf1eb4f95971c3cf85875cc9b2042a23cacaf.tar.gz
gentoo-2-a38bf1eb4f95971c3cf85875cc9b2042a23cacaf.tar.bz2
gentoo-2-a38bf1eb4f95971c3cf85875cc9b2042a23cacaf.zip
initial import, ebuild by me
(Portage version: 2.2.0_alpha36/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/serd')
-rw-r--r--dev-libs/serd/ChangeLog10
-rw-r--r--dev-libs/serd/files/ldconfig.patch12
-rw-r--r--dev-libs/serd/metadata.xml10
-rw-r--r--dev-libs/serd/serd-0.4.2.ebuild47
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
+}