# Template file for 'serd'
pkgname=serd
version=0.18.0
revision=2
build_style=waf
makedepends="python"
short_desc="Lightweight C library for RDF syntax."
maintainer="davehome <davehome@redthumb.info.tm>"
license="ISC"
homepage="http://drobilla.net/software/serd/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=37b8641382876a8f2c25697021cfcd153bc3c6c62983590edc8df0df2dea54aa
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)."

serd-devel_package() {
	depends="libserd>=${version}"
	short_desc="${short_desc} - Development files"
	pkg_install() {
        	vmove usr/include
        	vmove usr/lib/pkgconfig
	}
}

libserd_package() {
	short_desc="${short_desc} - Runtime library"
	pkg_install() {
		vmove "usr/lib/*.so*"
	}
}

serd_package() {
	pkg_install() {
		vmove usr
	}
}
