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