2011-02-24 12:17:13 +01:00
|
|
|
# Template file for 'pcc-libs'
|
|
|
|
pkgname=pcc-libs
|
2011-04-11 19:04:22 +02:00
|
|
|
version=1.0.0
|
2013-04-14 11:13:30 +02:00
|
|
|
revision=2
|
2011-02-24 16:42:23 +01:00
|
|
|
wrksrc=${pkgname}-${version}
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="flex"
|
2011-02-24 12:17:13 +01:00
|
|
|
short_desc="Portable C Compiler - Support Libraries"
|
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/$pkgname-$version.tgz"
|
2011-04-11 19:04:22 +02:00
|
|
|
checksum=f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62
|
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.
|
|
|
|
|
|
|
|
This package includes some required object files for PCC to work."
|
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
do_build() {
|
2011-02-24 13:20:48 +01:00
|
|
|
# Force gcc compiler.
|
|
|
|
env CC=gcc ./configure --prefix=/usr
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2013-04-14 11:13:30 +02:00
|
|
|
do_install() {
|
2011-02-24 13:20:48 +01:00
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
2013-04-14 11:13:30 +02:00
|
|
|
|
|
|
|
pcc-libs_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|