33 lines
733 B
Bash
33 lines
733 B
Bash
# Template file for 'mcpp'
|
|
pkgname=mcpp
|
|
version=2.7.2
|
|
revision=7
|
|
build_style=gnu-configure
|
|
configure_args="--enable-mcpplib"
|
|
short_desc="Portable C preprocessor"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://mcpp.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/mcpp/mcpp-${version}.tar.gz"
|
|
checksum=3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libmcpp_package() {
|
|
short_desc+=" - Runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
mcpp-devel_package() {
|
|
depends="libmcpp>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|