void-packages/srcpkgs/serd/template
tibequadorian 5f2b1373e9 serd: update to 0.30.10.
enable tests
2021-03-08 16:52:59 -03:00

40 lines
811 B
Bash

# Template file for 'serd'
pkgname=serd
version=0.30.10
revision=1
build_style=waf3
short_desc="Lightweight C library for RDF syntax"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="http://drobilla.net/software/serd/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" --test"
fi
do_check() {
./waf test
}
post_install() {
vlicense COPYING
}
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.*"
}
}