diff options
Diffstat (limited to 'system/xjobs/xjobs.SlackBuild')
-rw-r--r-- | system/xjobs/xjobs.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
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 |