diff --git a/srcpkgs/pcc-libs/template b/srcpkgs/pcc-libs/template new file mode 100644 index 00000000000..9f5d0bb21c1 --- /dev/null +++ b/srcpkgs/pcc-libs/template @@ -0,0 +1,17 @@ +# Template file for 'pcc-libs' +pkgname=pcc-libs +version=20110224 +distfiles="http://pcc.ludd.ltu.se/ftp/pub/$pkgname/$pkgname-$version.tgz" +build_style=gnu_configure +short_desc="Portable C Compiler - Support Libraries" +maintainer="Juan RP " +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 diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template new file mode 100644 index 00000000000..6af054cd562 --- /dev/null +++ b/srcpkgs/pcc/template @@ -0,0 +1,26 @@ +# Template file for 'pcc' +pkgname=pcc +version=20110224 +distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-$version.tgz" +build_style=gnu_configure +configure_args="--enable-tls" +short_desc="Portable C Compiler" +maintainer="Juan RP " +checksum=8628ff61e7552c05af1f512978fb11bf41c0b5c705fb1e1fe34f1cfe1c8b0fb3 +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." + +disable_parallel_build=yes + +Add_dependency run glibc +Add_dependency build flex +Add_dependency full pcc-libs + +post_install() +{ + # Rename conflicting cpp.1 manpage. + mv ${DESTDIR}/usr/share/man/man1/cpp.1 \ + ${DESTDIR}/usr/share/man/man1/pcc-cpp.1 +}