diff options
Diffstat (limited to 'system/parallel/parallel.SlackBuild')
-rw-r--r-- | system/parallel/parallel.SlackBuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/system/parallel/parallel.SlackBuild b/system/parallel/parallel.SlackBuild index 4575b8295347..a02c80e67a07 100644 --- a/system/parallel/parallel.SlackBuild +++ b/system/parallel/parallel.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# -# Slackware build script for Parallel -# + +# Slackware build script for parallel + # Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=parallel -VERSION=20090904 -ARCH=noarch +VERSION=20100601 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,6 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +ARCH=noarch + set -eu rm -rf $PKG @@ -44,12 +45,18 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -install -D -m 755 parallel $PKG/usr/bin/parallel -install -d -m 755 $PKG/usr/man/man1/ -gzip -9c parallel.1 > $PKG/usr/man/man1/parallel.1.gz +./configure \ + --prefix=/usr \ + --mandir=/usr/man/ \ + --docdir=/usr/doc/$PRGNAM-$VERSION + +make +make install-strip DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a gpl-3.0.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |