aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/parallel/parallel.SlackBuild25
-rw-r--r--system/parallel/parallel.info8
2 files changed, 20 insertions, 13 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
diff --git a/system/parallel/parallel.info b/system/parallel/parallel.info
index c6f2cbb1b3a4e..8d26901bb07f9 100644
--- a/system/parallel/parallel.info
+++ b/system/parallel/parallel.info
@@ -1,10 +1,10 @@
PRGNAM="parallel"
-VERSION="20090904"
+VERSION="20100601"
HOMEPAGE="https://savannah.nongnu.org/projects/parallel/"
-DOWNLOAD="http://mirror.its.uidaho.edu/pub/savannah/parallel/parallel-20090904.tar.bz2"
-MD5SUM="cc93856e74984a922bc580b9691cf880"
+DOWNLOAD="http://ftp.gnu.org/gnu/parallel/parallel-20100601.tar.bz2"
+MD5SUM="02dad549f509bf4849628cfaf35fbfe7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="rworkman"