void-packages/srcpkgs/liblrdf/template
newbluemoon aaa1549f79 liblrdf: remove cross base from pkgconfig file
Closes: #10536 [via git-merge-pr]
2018-01-09 15:45:23 +01:00

34 lines
881 B
Bash

# Template file for 'liblrdf'
pkgname=liblrdf
version=0.4.0
revision=6
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="ladspa-sdk raptor-devel"
short_desc="A lightweight RDF library with special support for LADSPA plugins"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://sourceforge.net/projects/lrdf"
distfiles="${SOURCEFORGE_SITE}/lrdf/${pkgname}-${version}.tar.gz"
checksum=95e98e86ba06ed73a5571cbcff3ee88e481b403b6eb727e9eb182870efd9b204
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
}
}