void-packages/srcpkgs/pcc/template

32 lines
868 B
Text

# Template file for 'pcc'
pkgname=pcc
version=1.0.0
revision=2
build_style=gnu-configure
configure_args="--enable-tls"
makedepends="flex pcc-libs"
short_desc="Portable C Compiler"
homepage="http://pcc.ludd.ltu.se/"
license="Custom (BSD-like)"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz"
checksum=5802dbba46d6ea3f9badaa55b9044a0416bb410020c24a5c2a8a2eaaf41156cb
long_desc="
The compiler is based on the original Portable C Compiler by S. C. Johnson,
written in the late 70's. About 50% of the frontend code and 80% of the
backend code has been rewritten."
disable_parallel_build=yes
post_install() {
# Rename conflicting cpp.1 manpage.
mv ${DESTDIR}/usr/share/man/man1/cpp.1 \
${DESTDIR}/usr/share/man/man1/pcc-cpp.1
}
pcc_package() {
depends="pcc-libs"
pkg_install() {
vmove usr
}
}