wok-next view qemu-light/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qemu-light"
4 VERSION="2.0.2"
5 CATEGORY="misc"
6 SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.qemu.org/"
10 REPOLOGY="qemu"
12 TARBALL="qemu-$VERSION.tar.bz2"
13 WGET_URL="http://wiki.qemu.org/download/$TARBALL"
15 BUILD_DEPENDS="gettext-dev perl alsa-lib-dev sdl-dev util-linux-uuid-dev \
16 python glib-dev zlib-dev autoconf automake libtool bison flex"
18 compile_rules() {
19 mkdir -p $DESTIDR/usr/share/qemu/ia32
21 [ -s $SRC/$UEFIZIP ] || wget -P $SRC $SF_MIRROR/edk2/$UEFIZIP
22 unzip $SRC/$UEFIZIP OVMF.fd -d $DESTIDR/usr/share/qemu/ia32
24 TARGET="i386-softmmu"
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 #--cross-prefix= --host-cc=
29 # interference between our variable $install and configure's inner variable $install
30 install=install \
31 ./configure \
32 --prefix=/usr \
33 --disable-xen \
34 --disable-vnc-sasl \
35 --disable-vnc-tls \
36 --disable-curl \
37 --disable-bluez \
38 --disable-curses \
39 --disable-vde \
40 --audio-drv-list=alsa \
41 --target-list="$TARGET" \
42 --cc=$BUILD_SYSTEM-gcc &&
43 make &&
44 make -j1 DESTDIR=$install install
45 }
47 genpkg_rules() {
48 mkdir -p $fs/usr/share/qemu
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu
51 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.rom linuxboot.bin
52 do
53 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
54 done
55 # Create qemu symlink
56 cd $fs/usr/bin && ln -s qemu-system-i386 qemu
57 DEPENDS="alsa-lib sdl util-linux-uuid"
58 TAGS="virtualization"
59 CONFLICT="qemu"
60 }