diff options
author | Edward Koenig <kingbeowulf@gmail.com> | 2013-10-26 15:40:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:38:54 -0500 |
commit | c054bc01454d8432f0791ebca575e5a9f0fd6d64 (patch) | |
tree | fa02745348f87e08e267e98c7520130aeeb0e52f /system/qemu/qemu.SlackBuild | |
parent | 0d72750efd85e0958b153155841ba815d9ad7f83 (diff) |
system/qemu: Updated for version 1.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r-- | system/qemu/qemu.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild index 3b9f7888eb3de..30463c962cbd4 100644 --- a/system/qemu/qemu.SlackBuild +++ b/system/qemu/qemu.SlackBuild @@ -29,9 +29,10 @@ # rworkman and ponce for script ideas. # 1.1 28-MAR-2013 fix missing docs per C. Willing and # add missing --libdir (patched in qemu-trivial upstream) +# 1.2 22-SEP-2013 updated to 1.6 PRGNAM=qemu -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -113,12 +114,14 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-gtk \ --enable-system \ --enable-kvm \ --enable-mixemu \ --disable-debug-info \ --audio-drv-list=alsa,oss,sdl,esd \ - --audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda \ $targets \ $with_spice \ $with_usbredir @@ -136,6 +139,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 # create a symlink for qemu-kvm to support aqemu and such frontends +# even though qemu now has a gtk gui. [ ! -z $KVMARCH ] && ln -s qemu-system-$KVMARCH $PKG/usr/bin/qemu-kvm # move any generated man pages to their proper location @@ -144,14 +148,10 @@ if [ -d $PKG/usr/share/man ]; then gzip -9 $PKG/usr/man/man?/*.? fi -# Add docs, and if present, built documentation to the proper location +# Add docs to the proper location mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a TODO README LICENSE COPYING COPYING.LIB MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION -cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION -if [ -d $PKG/usr/share/doc ]; then - mv $PKG/usr/share/doc/qemu/* $PKG/usr/doc/$PRGNAM-$VERSION/ - rm -rf $PKG/usr/share/doc -fi +cp -a Changelog COPYING* LICENSE MAINTAINERS README qemu-*.html docs/* \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |