36 lines
854 B
Bash
36 lines
854 B
Bash
# Template file for 'sratom'
|
|
pkgname=sratom
|
|
version=0.6.8
|
|
revision=1
|
|
build_style=waf3
|
|
hostmakedepends="pkg-config"
|
|
makedepends="serd-devel sord-devel lv2"
|
|
short_desc="Library for serialising LV2 atoms to/from RDF (Turtle syntax)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="http://drobilla.net/software/sratom/"
|
|
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
|
|
checksum=3acb32b1adc5a2b7facdade2e0818bcd6c71f23f84a1ebc17815bb7a0d2d02df
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" --test --no-coverage"
|
|
fi
|
|
|
|
do_check() {
|
|
./waf test
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
sratom-devel_package() {
|
|
depends="serd-devel>=0.18.0 sord-devel lv2 sratom>=${version}_${revision}"
|
|
short_desc+=" - Development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|