2011-02-24 12:17:13 +01:00
|
|
|
# Template file for 'pcc-libs'
|
|
|
|
pkgname=pcc-libs
|
|
|
|
version=20110224
|
|
|
|
distfiles="http://pcc.ludd.ltu.se/ftp/pub/$pkgname/$pkgname-$version.tgz"
|
2011-02-24 13:20:48 +01:00
|
|
|
build_style=custom-install
|
2011-02-24 12:17:13 +01:00
|
|
|
short_desc="Portable C Compiler - Support Libraries"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=35624e4fc195da82ebb1b7d54b695918a7ec81079f7b44d8a769f45df34cd4d2
|
|
|
|
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 13:20:48 +01:00
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
# Force gcc compiler.
|
|
|
|
env CC=gcc ./configure --prefix=/usr
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|