void-packages/srcpkgs/libcprops/template

33 lines
780 B
Text

# Template file for 'libcprops'
pkgname=libcprops
version=0.1.12
revision=1
build_style=gnu-configure
configure_args="--disable-cpsp --disable-cpsvc"
hostmakedepends="which flex makedepend"
short_desc="C prototyping tools"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cprops.sourceforge.net/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2"
checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2
if [ "$CROSS_BUILD" ]; then
makedepends="libfl-devel"
fi
libcprops-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/share
}
}
libcprops_package() {
pkg_install() {
vmove usr
}
}