wok-next annotate qemu-light/receipt @ rev 20833
prosody: what I see missing when I start the old prosody 0.9.4
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:03:23 2018 +0000 (2018-06-17) |
parents | bc4842f06e07 |
children | cd7906120828 |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
pankso@10694 | 2 |
pankso@10694 | 3 PACKAGE="qemu-light" |
pascal@20146 | 4 VERSION="2.0.2" |
pankso@10694 | 5 CATEGORY="misc" |
al@20534 | 6 SHORT_DESC="Light Qemu i386-softmmu target (without xen, vde, bluez, blobs, tls)" |
pankso@10694 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@10694 | 9 WEB_SITE="http://www.qemu.org/" |
al@20534 | 10 |
al@20534 | 11 TARBALL="qemu-$VERSION.tar.bz2" |
pankso@12978 | 12 WGET_URL="http://wiki.qemu.org/download/$TARBALL" |
pankso@10694 | 13 |
pascal@20146 | 14 BUILD_DEPENDS="gettext perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \ |
pascal@20146 | 15 glib-dev zlib-dev autoconf automake libtool bison flex" |
pankso@10694 | 16 |
al@20534 | 17 compile_rules() { |
pascal@20146 | 18 mkdir -p $DESTIDR/usr/share/qemu/ia32 |
pascal@20146 | 19 |
al@20513 | 20 [ -s $SRC/$UEFIZIP ] || wget -P $SRC \ |
pascal@20146 | 21 http://netassist.dl.sourceforge.net/project/edk2/OVMF/$UEFIZIP |
al@20513 | 22 unzip $SRC/$UEFIZIP OVMF.fd -d $DESTIDR/usr/share/qemu/ia32 |
pascal@20146 | 23 |
pankso@10694 | 24 TARGET="i386-softmmu" |
pascal@20146 | 25 |
pascal@20146 | 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@20146 | 27 #--cross-prefix= --host-cc= |
al@20670 | 28 |
al@20670 | 29 # interference between our variable $install and configure's inner variable $install |
al@20670 | 30 install=install \ |
pankso@10694 | 31 ./configure \ |
al@20671 | 32 --prefix=/usr \ |
pankso@10694 | 33 --disable-xen \ |
pankso@10694 | 34 --disable-vnc-sasl \ |
pankso@10694 | 35 --disable-vnc-tls \ |
pankso@10694 | 36 --disable-curl \ |
pankso@10694 | 37 --disable-bluez \ |
pankso@10694 | 38 --disable-curses \ |
pankso@10694 | 39 --disable-vde \ |
pankso@10694 | 40 --audio-drv-list=alsa \ |
pankso@10694 | 41 --target-list="$TARGET" \ |
pankso@10694 | 42 --cc=$BUILD_SYSTEM-gcc && |
al@20534 | 43 make && |
pascal@20667 | 44 make -j 1 DESTDIR=$DESTDIR install |
pankso@10694 | 45 } |
pankso@10694 | 46 |
al@20534 | 47 genpkg_rules() { |
pankso@10749 | 48 mkdir -p $fs/usr/share/qemu |
pankso@10749 | 49 cp -a $install/usr/bin $fs/usr |
pankso@10749 | 50 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu |
pascal@15035 | 51 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.rom linuxboot.bin |
pankso@10749 | 52 do |
pankso@10749 | 53 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu |
pankso@10749 | 54 done |
pankso@12978 | 55 # Create qemu symlink |
pankso@12978 | 56 cd $fs/usr/bin && ln -s qemu-system-i386 qemu |
al@20534 | 57 DEPENDS="alsa-lib libsdl util-linux-uuid" |
al@20534 | 58 TAGS="virtualization" |
al@20534 | 59 CONFLICT="qemu" |
pankso@10694 | 60 } |