libcprops: modernize.

This commit is contained in:
Juan RP 2014-06-05 00:11:46 +02:00
parent f0838fb88d
commit 62264a2ed2

View file

@ -1,7 +1,7 @@
# Template file for 'libcprops' # Template file for 'libcprops'
pkgname=libcprops pkgname=libcprops
version=0.1.12 version=0.1.12
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-cpsp --disable-cpsvc" configure_args="--disable-cpsp --disable-cpsvc"
hostmakedepends="which flex makedepend" hostmakedepends="which flex makedepend"
@ -12,16 +12,13 @@ license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2"
checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2 checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2
if [ "$CROSS_BUILD" ]; then
makedepends="libfl-devel"
fi
libcprops-devel_package() { libcprops-devel_package() {
depends="${sourcepkg}>=${version}" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share vmove usr/share
} }
} }