summaryrefslogtreecommitdiff
path: root/system/qemu-legacy/qemu-legacy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/qemu-legacy/qemu-legacy.SlackBuild')
-rw-r--r--system/qemu-legacy/qemu-legacy.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/qemu-legacy/qemu-legacy.SlackBuild b/system/qemu-legacy/qemu-legacy.SlackBuild
index 8b6aaa0659..0c63c16367 100644
--- a/system/qemu-legacy/qemu-legacy.SlackBuild
+++ b/system/qemu-legacy/qemu-legacy.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=qemu
PRGNAM=qemu-legacy
VERSION=${VERSION:-0.11.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+# For some reason it doesn't find SDL.h
+CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -91,9 +92,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -r $PKG/usr/share/doc
cp -a \
- LICENSE README TODO COPYING COPYING.LIB CODING_STYLE Changelog MAINTAINERS VERSION \
+ CODING_STYLE COPYING* Changelog LICENSE MAINTAINERS README TODO VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install