From a15e1eb118760b56617e7686c9e74610d2e43957 Mon Sep 17 00:00:00 2001 From: davehome Date: Mon, 24 Oct 2011 09:17:21 +0000 Subject: [PATCH] serd: New package. --- srcpkgs/libserd | 1 + srcpkgs/serd-devel | 1 + srcpkgs/serd/depends | 2 ++ srcpkgs/serd/libserd.template | 13 ++++++++ srcpkgs/serd/serd-devel.template | 15 ++++++++++ srcpkgs/serd/template | 38 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 71 insertions(+) create mode 120000 srcpkgs/libserd create mode 120000 srcpkgs/serd-devel create mode 100644 srcpkgs/serd/depends create mode 100644 srcpkgs/serd/libserd.template create mode 100644 srcpkgs/serd/serd-devel.template create mode 100644 srcpkgs/serd/template diff --git a/srcpkgs/libserd b/srcpkgs/libserd new file mode 120000 index 00000000000..d66675b5742 --- /dev/null +++ b/srcpkgs/libserd @@ -0,0 +1 @@ +serd \ No newline at end of file diff --git a/srcpkgs/serd-devel b/srcpkgs/serd-devel new file mode 120000 index 00000000000..d66675b5742 --- /dev/null +++ b/srcpkgs/serd-devel @@ -0,0 +1 @@ +serd \ No newline at end of file diff --git a/srcpkgs/serd/depends b/srcpkgs/serd/depends new file mode 100644 index 00000000000..766067bc225 --- /dev/null +++ b/srcpkgs/serd/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.5.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/serd/libserd.template b/srcpkgs/serd/libserd.template new file mode 100644 index 00000000000..7402459f0aa --- /dev/null +++ b/srcpkgs/serd/libserd.template @@ -0,0 +1,13 @@ +# Template file for 'libserd'. +# +short_desc="${short_desc} - Runtime library" +long_desc="${long_desc} + + This package contains the serd runtime library." + +Add_dependency run glibc + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/serd/serd-devel.template b/srcpkgs/serd/serd-devel.template new file mode 100644 index 00000000000..0f727cb2682 --- /dev/null +++ b/srcpkgs/serd/serd-devel.template @@ -0,0 +1,15 @@ +# Template file for 'serd-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libserd + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/serd/template b/srcpkgs/serd/template new file mode 100644 index 00000000000..a0ef6d5c530 --- /dev/null +++ b/srcpkgs/serd/template @@ -0,0 +1,38 @@ +# Template file for 'serd' +pkgname=serd +version=0.5.0 +homepage="http://drobilla.net/software/serd/" +distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" +build_style=custom-install +short_desc="Lightweight C library for RDF syntax." +maintainer="davehome " +license="ISC" +checksum=2b25033bca2ce903e3c901e5c2ceb500eebb1a56ca68a1018ec623aaeb7df8d0 +long_desc=" + 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)." + +subpackages="$pkgname-devel lib$pkgname" + +Add_dependency run glibc +Add_dependency run libserd + +do_configure() +{ + ./waf configure --prefix=/usr +} + +do_build() +{ + ./waf +} + +do_install() +{ + DESTDIR=${DESTDIR} ./waf install +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 49c53c5dc6c..03e655c45d9 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -915,3 +915,4 @@ libaubio.so.2 libaubio aubio-devel libaubioext.so.2 libaubio aubio-devel libraptor2.so.0 libraptor raptor-devel liblrdf.so.2 liblrdf liblrdf-devel +libserd-0.so.0 libserd serd-devel