# Template file for 'pcc-libs'
pkgname=pcc-libs
version=1.0.0
revision=3
wrksrc=${pkgname}-${version}
hostmakedepends="flex"
short_desc="Portable C Compiler - Support Libraries"
homepage="http://pcc.ludd.ltu.se/"
license="Custom (BSD-like)"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/$pkgname-$version.tgz"
checksum=f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62

do_build() {
	# Force gcc compiler.
	env CC=gcc ./configure --prefix=/usr
	make ${makejobs}
}

do_install() {
	make DESTDIR=${DESTDIR} install
}
