void-packages/srcpkgs/pcc-libs/template

33 lines
882 B
Plaintext

# Template file for 'pcc-libs'
pkgname=pcc-libs
_distver=1.0.0.BETA
_datever=20110224
version=${_distver}
wrksrc=${pkgname}-${version}
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/$pkgname-${_distver}-${_datever}.tgz"
build_style=custom-install
short_desc="Portable C Compiler - Support Libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=7047b7e869dbaaf8fd777b9116df97aee3184dff1eab0366a976b782a6950e4e
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
}