1 # Contributor: Andreas Baumann <abaumann at yahoo dot com>
2 # Contributor: Chris Brannon <cmbrannon (at) cox.net>
7 pkgdesc="Libraries for the Portable C Compiler."
9 url="http://pcc.ludd.ltu.se/"
15 md5sums=('51f6cc02b26af53f26cfe87494ca5c87')
17 _cvsroot=":pserver:anonymous@pcc.ludd.ltu.se:/cvsroot"
22 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
23 if [ -d $_cvsmod/CVS ]; then
27 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
31 msg "CVS checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_cvsmod-build"
35 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
36 cd "$srcdir/$_cvsmod-build"
38 ./configure --prefix=/usr || return 1
40 make CC=gcc || return 1
42 make DESTDIR=$pkgdir install || return 1
44 install -D -m0644 ${srcdir}/license ${pkgdir}/usr/share/licenses/${pkgname}/license