summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/qemu-legacy/README5
-rw-r--r--system/qemu-legacy/qemu-legacy.SlackBuild7
-rw-r--r--system/qemu-legacy/qemu.pod.append15
-rw-r--r--system/qemu-legacy/slack-desc10
4 files changed, 29 insertions, 8 deletions
diff --git a/system/qemu-legacy/README b/system/qemu-legacy/README
index 5e7a333cb8..823d2cb503 100644
--- a/system/qemu-legacy/README
+++ b/system/qemu-legacy/README
@@ -3,6 +3,5 @@ qemu (open source processor emulator)
QEMU is a generic and open source processor emulator which achieves
a good emulation speed by using dynamic translation.
-This SlackBuild builds qemu-0.11.1 which was the last version to
-support the kqemu kernel module (also available here). It is for
-people with hardware that doesn't support virtualisation.
+This SlackBuild builds qemu-0.11.1 which is for people with hardware
+that doesn't support virtualisation.
diff --git a/system/qemu-legacy/qemu-legacy.SlackBuild b/system/qemu-legacy/qemu-legacy.SlackBuild
index 0c63c16367..720be0bb1a 100644
--- a/system/qemu-legacy/qemu-legacy.SlackBuild
+++ b/system/qemu-legacy/qemu-legacy.SlackBuild
@@ -73,11 +73,18 @@ find . \
# For some reason it doesn't find SDL.h
CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS+="-lrt" \
./configure \
--prefix=/usr \
--enable-system \
--audio-drv-list=oss,alsa,sdl,esd
+# This make invocation *will* fail due to the qemu.pod issue below
+make 2>/dev/null || true
+
+# Fix for newer pod2man
+cat $CWD/qemu.pod.append >> qemu.pod
+
make
make install DESTDIR=$PKG
diff --git a/system/qemu-legacy/qemu.pod.append b/system/qemu-legacy/qemu.pod.append
new file mode 100644
index 0000000000..b77816e992
--- /dev/null
+++ b/system/qemu-legacy/qemu.pod.append
@@ -0,0 +1,15 @@
+
+_END_
+
+=head1 NAME
+
+qemu-legacy
+
+=head1 SYNOPSIS
+
+Old version of qemu
+
+=head1 DESCRIPTION
+
+This is an old (pre-kvm) version of qemu.
+
diff --git a/system/qemu-legacy/slack-desc b/system/qemu-legacy/slack-desc
index fdca1416de..617a2892ca 100644
--- a/system/qemu-legacy/slack-desc
+++ b/system/qemu-legacy/slack-desc
@@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
qemu-legacy: qemu-legacy (open source processor emulator)