2011-10-31 23:55:27 +01:00
|
|
|
# Template file for 'mcpp'
|
|
|
|
pkgname=mcpp
|
|
|
|
version=2.7.2
|
2013-04-14 04:24:51 +02:00
|
|
|
revision=4
|
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
|
|
|
|
long_desc="
|
|
|
|
mcpp is a C/C++ preprocessor with the following features:
|
|
|
|
|
|
|
|
* Implements all of C90, C99 and C++98 specifications.
|
|
|
|
* Provides a validation suite to test C/C++ preprocessor's conformance and
|
|
|
|
quality comprehensively. When this validation suite is applied, mcpp
|
|
|
|
distinguishes itself among many existing preprocessors.
|
|
|
|
* Has plentiful and on-target diagnostics to check all the preprocessing
|
|
|
|
problems such as latent bug or lack of portability in source code.
|
|
|
|
* Has #pragma directives to output debugging information.
|
|
|
|
* Is portable and has been ported to many compiler-systems, including GCC
|
|
|
|
and Visual C++, on UNIX-like systems and Windows.
|
|
|
|
* Has various behavior modes.
|
|
|
|
* Can be built either as a compiler-specific preprocessor to replace the
|
2011-11-01 05:49:16 +01:00
|
|
|
resident preprocessor of a particular compiler system, or as a
|
|
|
|
compiler-independent command, or even as a subroutine called from some
|
|
|
|
other main program.
|
2011-10-31 23:55:27 +01:00
|
|
|
* Provides comprehensive documents both in Japanese and in English.
|
|
|
|
* Is an open source software released under BSD-style-license.
|
|
|
|
* It is probably number one C/C++ preprocessor now available in the world."
|
|
|
|
|
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() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mcpp-devel_package() {
|
|
|
|
depends="mcpp>=${version}"
|
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"
|
|
|
|
}
|
|
|
|
}
|