aboutsummaryrefslogtreecommitdiff
path: root/libraries/libx86emu/libx86emu.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2012-12-02 12:34:13 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:21:49 -0500
commite6b18b1189a9fca51a3bf48e9305e785f965b365 (patch)
tree0836390f11c9c6d7738a355675e36080b2690259 /libraries/libx86emu/libx86emu.SlackBuild
parent9a42857ff7e07f58e525de77dd36d1361ac2fe53 (diff)
libraries/libx86emu: Updated for version 1.3
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libx86emu/libx86emu.SlackBuild')
-rw-r--r--libraries/libx86emu/libx86emu.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/libx86emu/libx86emu.SlackBuild b/libraries/libx86emu/libx86emu.SlackBuild
index 017619f85cdb..56244c245c15 100644
--- a/libraries/libx86emu/libx86emu.SlackBuild
+++ b/libraries/libx86emu/libx86emu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libx86emu
-# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2012 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libx86emu
-VERSION=1.1
+VERSION=1.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -67,6 +65,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# disable regeneration of changelog and VERSION
+chmod -x ./git2log
+
# use our CFLAGS
sed -i "s/-O2/$SLKCFLAGS/" Makefile
@@ -82,7 +83,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changelog LICENSE README VERSION \
+cp -a changelog LICENSE README VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild