summaryrefslogtreecommitdiff
path: root/system/graveman/graveman.SlackBuild
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 22:26:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:42 +0200
commit9f19f18007800e89973f212c65659db8842c7cb6 (patch)
tree4dc3aacb8a08e0f290333beb25be63794b4021a3 /system/graveman/graveman.SlackBuild
parentc43dba4d1cbab83c56ee7e443a649a6ed099e78f (diff)
downloadslackbuilds-9f19f18007800e89973f212c65659db8842c7cb6.tar.gz
system/graveman: Updated for version 0.3.12.5
Diffstat (limited to 'system/graveman/graveman.SlackBuild')
-rw-r--r--system/graveman/graveman.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild
index c7df3d3a70..98f34e419b 100644
--- a/system/graveman/graveman.SlackBuild
+++ b/system/graveman/graveman.SlackBuild
@@ -15,11 +15,12 @@
# for the fix.
PRGNAM=graveman
-SRCVER=0.3.12-5 # this is the developer's source version
VERSION=0.3.12.5 # this is local version
+SRCVER=0.3.12-5 # this is the developer's source version
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -29,13 +30,15 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$SRCVER
-tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || exit 1
cd $PRGNAM-$SRCVER || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -59,7 +62,7 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING Changelog NEWS README* THANKS TRANSLATE-HOWTO.fr \
+cp -a AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild