summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-06-03 17:00:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:53 +0700
commitdeca42bba958f3564d6c2637649c0e7e1eb780b6 (patch)
treeab33430dfe9898466841303a7d73d1ee79d0c30d
parent4b3ed89bcfa4200a887397a0b3c8dc5fa3af7332 (diff)
downloadslackbuilds-deca42bba958f3564d6c2637649c0e7e1eb780b6.tar.gz
libraries/libx86emu: Updated for version 1.11.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--libraries/libx86emu/libx86emu.SlackBuild12
-rw-r--r--libraries/libx86emu/libx86emu.info8
2 files changed, 11 insertions, 9 deletions
diff --git a/libraries/libx86emu/libx86emu.SlackBuild b/libraries/libx86emu/libx86emu.SlackBuild
index 1d509d28ba..dc7e893654 100644
--- a/libraries/libx86emu/libx86emu.SlackBuild
+++ b/libraries/libx86emu/libx86emu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libx86emu
-# Copyright 2009-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2017 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libx86emu
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,6 +75,8 @@ chmod -x ./git2log
# use our CFLAGS
sed -i "s/-O2/$SLKCFLAGS/" Makefile
+echo $VERSION > VERSION
+
make \
LIBDIR=/usr/lib$LIBDIRSUFFIX
@@ -83,11 +85,11 @@ make \
DESTDIR=$PKG \
install
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 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 LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libx86emu/libx86emu.info b/libraries/libx86emu/libx86emu.info
index 7970576001..61120771bf 100644
--- a/libraries/libx86emu/libx86emu.info
+++ b/libraries/libx86emu/libx86emu.info
@@ -1,8 +1,8 @@
PRGNAM="libx86emu"
-VERSION="1.4"
-HOMEPAGE="http://gitorious.org/x86emu/libx86emu"
-DOWNLOAD="http://www.liwjatan.at/files/src/hwinfo/libx86emu-1.4.tar.xz"
-MD5SUM="4b46be2b22cf977defc1732d4472103f"
+VERSION="1.11"
+HOMEPAGE="https://github.com/wfeldt/libx86emu"
+DOWNLOAD="https://github.com/wfeldt/libx86emu/archive/1.11/libx86emu-1.11.tar.gz"
+MD5SUM="20b0112af40831b5d08d67888466c711"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""