aboutsummaryrefslogtreecommitdiff
path: root/system/qemu-legacy/qemu-legacy.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2011-11-13 17:48:47 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-13 17:48:47 -0600
commit35ff32c2c87126597e038f907c57a3e17a32087e (patch)
tree80009f209b4d38bf3815dea47259c87b2ca4967f /system/qemu-legacy/qemu-legacy.SlackBuild
parent3edf41fd853355505acac955166c1c68b9761ae4 (diff)
system/qemu-legacy: Fixed SDL header inclusion.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 8b6aaa065955a..0c63c16367180 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