void-packages/srcpkgs/mcpp/template

30 lines
704 B
Plaintext
Raw Normal View History

# Template file for 'mcpp'
pkgname=mcpp
version=2.7.2
2014-02-21 14:36:48 +01:00
revision=5
build_style=gnu-configure
configure_args="--enable-mcpplib"
homepage="http://mcpp.sourceforge.net/"
license="BSD"
short_desc="Portable C preprocessor"
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864
libmcpp_package() {
short_desc+=" - Runtime library"
pkg_install() {
2014-02-21 14:36:48 +01:00
vmove "usr/lib/*.so.*"
}
}
mcpp-devel_package() {
2014-02-21 14:36:48 +01:00
depends="libmcpp>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2014-02-21 14:36:48 +01:00
vmove "usr/lib/*.so"
}
}