SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qemu-light"

# SliTaz package receipt.

PACKAGE="qemu-light"
VERSION="0.12.5"
CATEGORY="misc"
SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)."
MAINTAINER="pankso@slitaz.org"
SOURCE="qemu"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.qemu.org/"
WGET_URL="http://download.savannah.gnu.org/releases/qemu/$TARBALL"
TAGS="virtualization"
CONFLICT="qemu"

DEPENDS="alsa-lib libsdl util-linux-ng-uuid"
BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-ng-uuid-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    TARGET="i386-softmmu"
    ./configure \
        --prefix=/usr \
        --disable-xen \
        --disable-vnc-sasl \
        --disable-vnc-tls \
        --disable-curl \
        --disable-bluez \
        --disable-curses \
        --disable-vde \
        --enable-io-thread \
        --audio-drv-list=alsa \
        --target-list="$TARGET" \
        --cc=$BUILD_SYSTEM-gcc &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/qemu
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu
    for bin in bios.bin vgabios-cirrus.bin pxe-e1000.bin linuxboot.bin
    do
        cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
    done
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)