2013-01-02 15:17:40 +00:00
|
|
|
# Template file for 'libcprops'
|
|
|
|
pkgname=libcprops
|
|
|
|
version=0.1.12
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-cpsp --disable-cpsvc"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="which flex makedepend"
|
2013-01-02 15:17:40 +00:00
|
|
|
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
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|