void-packages/srcpkgs/liblrdf/template

36 lines
904 B
Bash

# Template file for 'liblrdf'
pkgname=liblrdf
version=0.6.1
revision=2
wrksrc="LRDF-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="ladspa-sdk raptor-devel"
short_desc="Lightweight RDF library with special support for LADSPA plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/swh/LRDF"
distfiles="https://github.com/swh/LRDF/archive/v${version}.tar.gz"
checksum=d579417c477ac3635844cd1b94f273ee2529a8c3b6b21f9b09d15f462b89b1ef
pre_configure() {
autoreconf -fi
}
if [ -n "$CROSS_BUILD" ]; then
post_build() {
sed -i -e "s|${XBPS_CROSS_BASE}||" lrdf.pc
}
fi
liblrdf-devel_package() {
depends="raptor-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}