diff options
Diffstat (limited to 'system/graveman/graveman.SlackBuild')
-rw-r--r-- | system/graveman/graveman.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild index c7df3d3a7055c..98f34e419ba66 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 |