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