# Template file for 'serd'
pkgname=serd
version=0.18.0
revision=4
build_style=waf
hostmakedepends="python"
short_desc="Lightweight C library for RDF syntax"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://drobilla.net/software/serd/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=37b8641382876a8f2c25697021cfcd153bc3c6c62983590edc8df0df2dea54aa

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

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