void-packages/srcpkgs/pcc-libs/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

30 lines
800 B
Plaintext

# Template file for 'pcc-libs'
pkgname=pcc-libs
version=1.0.0
wrksrc=${pkgname}-${version}
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/$pkgname-$version.tgz"
short_desc="Portable C Compiler - Support Libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62
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.
This package includes some required object files for PCC to work."
Add_dependency run glibc
Add_dependency build flex
do_build()
{
# Force gcc compiler.
env CC=gcc ./configure --prefix=/usr
make ${makejobs}
}
do_install()
{
make DESTDIR=${DESTDIR} install
}