diff options
Diffstat (limited to 'libraries/libx86emu/libx86emu.SlackBuild')
-rw-r--r-- | libraries/libx86emu/libx86emu.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/libx86emu/libx86emu.SlackBuild b/libraries/libx86emu/libx86emu.SlackBuild index 017619f85c..56244c245c 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 |