From dc7cd00187fd7efec93f0d71d9b89b0dafe16cb9 Mon Sep 17 00:00:00 2001 From: davehome Date: Mon, 24 Oct 2011 09:42:01 +0000 Subject: [PATCH] sord: New package. --- srcpkgs/libsord | 1 + srcpkgs/sord-devel | 1 + srcpkgs/sord/depends | 2 ++ srcpkgs/sord/libsord.template | 14 ++++++++++ srcpkgs/sord/sord-devel.template | 15 ++++++++++ srcpkgs/sord/template | 35 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 69 insertions(+) create mode 120000 srcpkgs/libsord create mode 120000 srcpkgs/sord-devel create mode 100644 srcpkgs/sord/depends create mode 100644 srcpkgs/sord/libsord.template create mode 100644 srcpkgs/sord/sord-devel.template create mode 100644 srcpkgs/sord/template diff --git a/srcpkgs/libsord b/srcpkgs/libsord new file mode 120000 index 0000000000..bc0618c612 --- /dev/null +++ b/srcpkgs/libsord @@ -0,0 +1 @@ +sord \ No newline at end of file diff --git a/srcpkgs/sord-devel b/srcpkgs/sord-devel new file mode 120000 index 0000000000..bc0618c612 --- /dev/null +++ b/srcpkgs/sord-devel @@ -0,0 +1 @@ +sord \ No newline at end of file diff --git a/srcpkgs/sord/depends b/srcpkgs/sord/depends new file mode 100644 index 0000000000..766067bc22 --- /dev/null +++ b/srcpkgs/sord/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.5.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/sord/libsord.template b/srcpkgs/sord/libsord.template new file mode 100644 index 0000000000..c83727dacb --- /dev/null +++ b/srcpkgs/sord/libsord.template @@ -0,0 +1,14 @@ +# Template file for 'libsord'. +# +short_desc="${short_desc} - Runtime library" +long_desc="${long_desc} + + This package contains the serd runtime library." + +Add_dependency run glibc +Add_dependency run libserd + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/sord/sord-devel.template b/srcpkgs/sord/sord-devel.template new file mode 100644 index 0000000000..2167d30ff9 --- /dev/null +++ b/srcpkgs/sord/sord-devel.template @@ -0,0 +1,15 @@ +# Template file for 'sord-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 libsord + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/sord/template b/srcpkgs/sord/template new file mode 100644 index 0000000000..6c34e23593 --- /dev/null +++ b/srcpkgs/sord/template @@ -0,0 +1,35 @@ +# Template file for 'sord' +pkgname=sord +version=0.5.0 +homepage="http://drobilla.net/software/sord/" +distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" +build_style=custom-install +short_desc="Lightweight C library for storing RDF data in memory." +maintainer="davehome " +license="ISC" +checksum=0f18879ed9d5c4d056cddb5af9057090d1de874d3f3996386cf716d8060625ef +long_desc=" + Sord is a lightweight C library for storing RDF data in memory." +subpackages="$pkgname-devel lib$pkgname" + +Add_dependency run glibc +Add_dependency run libserd +Add_dependency run libsord + +Add_dependency build python +Add_dependency build coreutils + +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 03e655c45d..7c3a45d931 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -916,3 +916,4 @@ 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 +libsord-0.so.0 libsord sord-devel