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