2011-02-24 12:17:13 +01:00
|
|
|
# Template file for 'pcc'
|
|
|
|
pkgname=pcc
|
2011-04-11 19:05:54 +02:00
|
|
|
version=1.0.0
|
2013-04-14 11:13:30 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-02-24 12:17:13 +01:00
|
|
|
configure_args="--enable-tls"
|
2013-04-14 11:13:30 +02:00
|
|
|
makedepends="flex pcc-libs"
|
2011-02-24 12:17:13 +01:00
|
|
|
short_desc="Portable C Compiler"
|
2013-03-31 09:51:38 +02:00
|
|
|
homepage="http://pcc.ludd.ltu.se/"
|
|
|
|
license="Custom (BSD-like)"
|
2011-02-24 12:17:13 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 11:13:30 +02:00
|
|
|
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/pcc-$version.tgz"
|
2011-04-11 19:05:54 +02:00
|
|
|
checksum=5802dbba46d6ea3f9badaa55b9044a0416bb410020c24a5c2a8a2eaaf41156cb
|
2011-02-24 12:17:13 +01:00
|
|
|
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
|
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
post_install() {
|
2011-02-24 12:17:13 +01:00
|
|
|
# Rename conflicting cpp.1 manpage.
|
|
|
|
mv ${DESTDIR}/usr/share/man/man1/cpp.1 \
|
|
|
|
${DESTDIR}/usr/share/man/man1/pcc-cpp.1
|
|
|
|
}
|
2013-04-14 11:13:30 +02:00
|
|
|
|
|
|
|
pcc_package() {
|
|
|
|
depends="pcc-libs"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|