diff options
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 3b9f7888eb..30463c962c 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 |