# Template file for 'sord'
pkgname=sord
version=0.8.0
revision=3
build_style=waf
makedepends="pkg-config python serd-devel pcre-devel>=8.30"
short_desc="Lightweight C library for storing RDF data in memory."
maintainer="davehome <davehome@redthumb.info.tm>"
license="ISC"
homepage="http://drobilla.net/software/sord/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=99df73a0a859fbfc6423a7d5930d019c8c0e17e04ed101114c54f1911dbd8a59
long_desc="
 Sord is a lightweight C library for storing RDF data in memory."

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

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

sord_package() {
	pkg_install() {
		vmove usr
	}
}
