aboutsummaryrefslogtreecommitdiff
path: root/system/parallel/parallel.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-06-12 06:16:33 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:28 -0500
commitd27790a735adcbf92b57bc65912f211b5c276c35 (patch)
tree1a91d6fce497c5ab1f73a8a2c8391cfecd0c63bc /system/parallel/parallel.SlackBuild
parentb98605ed6842e306d328be3132cb2cc76a3ecfdb (diff)
system/parallel: Updated for version 20100601.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/parallel/parallel.SlackBuild')
-rw-r--r--system/parallel/parallel.SlackBuild25
1 files changed, 16 insertions, 9 deletions
diff --git a/system/parallel/parallel.SlackBuild b/system/parallel/parallel.SlackBuild
index 4575b8295347f..a02c80e67a071 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