void-packages/srcpkgs/pcc/template

25 lines
696 B
Text
Raw Normal View History

# Template file for 'pcc'
pkgname=pcc
2014-12-18 13:39:53 +00:00
version=1.1.0
revision=2
build_style=gnu-configure
configure_args="--enable-tls"
2014-12-18 13:39:53 +00:00
hostmakedepends="flex"
makedepends="pcc-libs>=${version}"
depends="pcc-libs>=${version}"
short_desc="Portable C Compiler"
2013-03-31 07:51:38 +00:00
homepage="http://pcc.ludd.ltu.se/"
2014-12-18 13:39:53 +00:00
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz"
2014-12-18 13:39:53 +00:00
checksum=d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64
2014-08-27 16:07:27 +00:00
only_for_archs="i686 x86_64"
pre_configure() {
sed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c
}
post_install() {
# Rename conflicting cpp.1 manpage.
2014-12-18 13:39:53 +00:00
mv ${DESTDIR}/usr/share/man/man1/{cpp,pcc-cpp}.1
}