diff options
Diffstat (limited to 'source/d/p2c')
-rwxr-xr-x | source/d/p2c/p2c.SlackBuild | 9 | ||||
-rw-r--r-- | source/d/p2c/p2c.url | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/source/d/p2c/p2c.SlackBuild b/source/d/p2c/p2c.SlackBuild index ced1b9993..75a2d7363 100755 --- a/source/d/p2c/p2c.SlackBuild +++ b/source/d/p2c/p2c.SlackBuild @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=p2c -VERSION=${VERSION:-2.01} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.02} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -136,13 +136,14 @@ cp -a \ done ) cp -a src/README $PKG/usr/doc/p2c-${VERSION}/README.src -cp -a examples $PKG/usr/doc/p2c-${VERSION} +mkdir -p $PKG/usr/doc/p2c-${VERSION}/examples +( cd examples + cp -a Makefile README basic.doc basic.p cref.p e.p fact.p p2crc self.p $PKG/usr/doc/p2c-${VERSION}/examples ) # Fix examples Makefile: sed -i "s#usr/lib#usr/lib${LIBDIRSUFFIX}#g" $PKG/usr/doc/p2c-${VERSION}/examples/Makefile sed -i "s#../p2c#p2c#g" $PKG/usr/doc/p2c-${VERSION}/examples/Makefile sed -i "s#../home/libp2c.a#/usr/lib${LIBDIRSUFFIX}/libp2c.a#g" $PKG/usr/doc/p2c-${VERSION}/examples/Makefile sed -i "s#../home#/usr/include/p2c#g" $PKG/usr/doc/p2c-${VERSION}/examples/Makefile -chmod 755 $PKG/usr/doc/p2c-${VERSION}/examples mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/source/d/p2c/p2c.url b/source/d/p2c/p2c.url index 284164fb0..a6cb69f8d 100644 --- a/source/d/p2c/p2c.url +++ b/source/d/p2c/p2c.url @@ -1 +1 @@ -https://alum.mit.edu/www/toms/p2c/p2c-2.01.tar.gz +https://alum.mit.edu/www/toms/p2c/ |