wok view qemu-light/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 30ff991c5681
children b7f1bd1b9ac7
line source
1 # SliTaz package receipt.
3 PACKAGE="qemu-light"
4 VERSION="1.2.0"
5 CATEGORY="misc"
6 SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="qemu"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.qemu.org/"
12 WGET_URL="http://wiki.qemu.org/download/$TARBALL"
13 TAGS="virtualization"
14 CONFLICT="qemu"
16 DEPENDS="alsa-lib libsdl util-linux-uuid"
17 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \
18 libgio-dev glib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 TARGET="i386-softmmu"
24 sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile*
25 ./configure \
26 --prefix=/usr \
27 --disable-xen \
28 --disable-vnc-sasl \
29 --disable-vnc-tls \
30 --disable-curl \
31 --disable-bluez \
32 --disable-curses \
33 --disable-vde \
34 --disable-attr \
35 --audio-drv-list=alsa \
36 --target-list="$TARGET" \
37 --cc=$BUILD_SYSTEM-gcc &&
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/qemu
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu
47 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.rom linuxboot.bin
48 do
49 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu
50 done
51 # Create qemu symlink
52 cd $fs/usr/bin && ln -s qemu-system-i386 qemu
53 }