serd: New package.

This commit is contained in:
davehome 2011-10-24 09:17:21 +00:00
parent 8eb36ddda2
commit a15e1eb118
7 changed files with 71 additions and 0 deletions

1
srcpkgs/libserd Symbolic link
View file

@ -0,0 +1 @@
serd

1
srcpkgs/serd-devel Symbolic link
View file

@ -0,0 +1 @@
serd

2
srcpkgs/serd/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.5.0"
api_depends="${abi_depends}"

View file

@ -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
}

View file

@ -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
}

38
srcpkgs/serd/template Normal file
View file

@ -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 <davehome@redthumb.info.tm>"
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
}

View file

@ -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