summaryrefslogtreecommitdiff
path: root/libraries/ffcall/ffcall.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:44:58 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:58 +0200
commitc9736f4e6fdecd130e41c1fdbad00d146593b4e9 (patch)
tree8ecf6122473afd02ebbdfa398f751e788750c23b /libraries/ffcall/ffcall.SlackBuild
parent5c443790f13549db270bbd9a385911d785325a60 (diff)
downloadslackbuilds-c9736f4e6fdecd130e41c1fdbad00d146593b4e9.tar.gz
libraries/ffcall: Updated for version 1.10
Diffstat (limited to 'libraries/ffcall/ffcall.SlackBuild')
-rw-r--r--libraries/ffcall/ffcall.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/libraries/ffcall/ffcall.SlackBuild b/libraries/ffcall/ffcall.SlackBuild
index 00bc83e867..49fac96eb0 100644
--- a/libraries/ffcall/ffcall.SlackBuild
+++ b/libraries/ffcall/ffcall.SlackBuild
@@ -24,12 +24,15 @@
# Modified by the SlackBuilds.org project
+# Bail out if we encounter an error
+set -e
+
PRGNAM=ffcall
VERSION=1.10
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,16 +43,12 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
-# Bail out if we encounter an error
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -zxvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -68,9 +67,7 @@ make DESTDIR=$PKG install
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
-if [ -d $PKG/usr/man ]; then
- gzip -9 $PKG/usr/man/man?/*
-fi
+gzip -9 $PKG/usr/man/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild