summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/xjobs/slack-desc2
-rw-r--r--system/xjobs/xjobs-mandir.patch9
-rw-r--r--system/xjobs/xjobs.SlackBuild18
-rw-r--r--system/xjobs/xjobs.info8
4 files changed, 20 insertions, 17 deletions
diff --git a/system/xjobs/slack-desc b/system/xjobs/slack-desc
index f8aa5964ca..467a4617e0 100644
--- a/system/xjobs/slack-desc
+++ b/system/xjobs/slack-desc
@@ -1,4 +1,4 @@
-xjobs: xjobs - execute jobs in parallel.
+xjobs: xjobs (execute jobs in parallel)
xjobs:
xjobs: xjobs reads job descriptions line by line and executes them in
xjobs: parallel. xjobs is most useful on multiprocessor machines when
diff --git a/system/xjobs/xjobs-mandir.patch b/system/xjobs/xjobs-mandir.patch
index 770a07da15..31e9735f70 100644
--- a/system/xjobs/xjobs-mandir.patch
+++ b/system/xjobs/xjobs-mandir.patch
@@ -1,6 +1,6 @@
---- Makefile.in 2008-05-20 14:31:54.000000000 -0500
-+++ Makefile.in.new 2008-05-20 18:38:48.000000000 -0500
-@@ -42,5 +42,6 @@
+--- Makefile.in.orig 2008-12-17 04:49:58.026458458 -0600
++++ Makefile.in 2008-12-17 04:50:51.320458794 -0600
+@@ -42,8 +42,9 @@
install: $(TARGET)
-$(INSTALL) -d $(DESTDIR)$(bindir)
@@ -8,3 +8,6 @@
$(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
- $(INSTALL) xjobs.1 $(mandir)
+ $(INSTALL) xjobs.1 $(DESTDIR)$(mandir)
+
+ lint:
+ lint $(CFLAGS) $(SOURCES)
diff --git a/system/xjobs/xjobs.SlackBuild b/system/xjobs/xjobs.SlackBuild
index 0507ad9f30..32066e3851 100644
--- a/system/xjobs/xjobs.SlackBuild
+++ b/system/xjobs/xjobs.SlackBuild
@@ -1,14 +1,15 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for xjobs
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=xjobs
-VERSION=20080520
+VERSION=20080824
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -23,24 +24,23 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Fix: mandir -> destdir/mandir
-patch -p0 < $CWD/xjobs-mandir.patch || exit 1
+patch -p0 < $CWD/xjobs-mandir.patch
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --mandir=/usr/man \
- || exit 1
+ --mandir=/usr/man
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
# Cleanup on Isle 3
strip --strip-unneeded $PKG/usr/bin/xjobs
diff --git a/system/xjobs/xjobs.info b/system/xjobs/xjobs.info
index bf7849190f..03ecf7293f 100644
--- a/system/xjobs/xjobs.info
+++ b/system/xjobs/xjobs.info
@@ -1,8 +1,8 @@
PRGNAM="xjobs"
-VERSION="20080520"
+VERSION="20080824"
HOMEPAGE="http://www.maier-komor.de/xjobs.html"
-DOWNLOAD="http://www.maier-komor.de/xjobs/xjobs-20080520.tgz"
-MD5SUM="df2e0f944070dd1a50837111c4a9da7d"
+DOWNLOAD="http://www.maier-komor.de/xjobs/xjobs-20080824.tgz"
+MD5SUM="4baae50f09752a357a692e76c1f3f53a"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="David Somero"
+APPROVED="dsomero"