wok-6.x annotate qemu-light/receipt @ rev 15035
qemu-light: fix eth rom name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 12:25:48 2013 +0000 (2013-08-12) |
parents | 7896f0694ef6 |
children | 30ff991c5681 |
rev | line source |
---|---|
pankso@10694 | 1 # SliTaz package receipt. |
pankso@10694 | 2 |
pankso@10694 | 3 PACKAGE="qemu-light" |
pankso@13346 | 4 VERSION="1.2.0" |
pankso@10694 | 5 CATEGORY="misc" |
pankso@10694 | 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 SOURCE="qemu" |
pankso@13346 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@10694 | 11 WEB_SITE="http://www.qemu.org/" |
pankso@12978 | 12 WGET_URL="http://wiki.qemu.org/download/$TARBALL" |
pankso@10694 | 13 TAGS="virtualization" |
pankso@10749 | 14 CONFLICT="qemu" |
pankso@10694 | 15 |
pankso@12481 | 16 DEPENDS="alsa-lib libsdl util-linux-uuid" |
pankso@12978 | 17 BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \ |
pankso@12978 | 18 libgio-dev glib-dev" |
pankso@10694 | 19 |
pankso@10694 | 20 # Rules to configure and make the package. |
pankso@10694 | 21 compile_rules() |
pankso@10694 | 22 { |
pankso@10694 | 23 cd $src |
pankso@10694 | 24 TARGET="i386-softmmu" |
pankso@10694 | 25 ./configure \ |
pankso@10694 | 26 --prefix=/usr \ |
pankso@10694 | 27 --disable-xen \ |
pankso@10694 | 28 --disable-vnc-sasl \ |
pankso@10694 | 29 --disable-vnc-tls \ |
pankso@10694 | 30 --disable-curl \ |
pankso@10694 | 31 --disable-bluez \ |
pankso@10694 | 32 --disable-curses \ |
pankso@10694 | 33 --disable-vde \ |
pankso@10694 | 34 --audio-drv-list=alsa \ |
pankso@10694 | 35 --target-list="$TARGET" \ |
pankso@10694 | 36 --cc=$BUILD_SYSTEM-gcc && |
pankso@10694 | 37 make && make DESTDIR=$DESTDIR install |
pankso@10694 | 38 } |
pankso@10694 | 39 |
pankso@10694 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10694 | 41 genpkg_rules() |
pankso@10694 | 42 { |
pankso@10749 | 43 mkdir -p $fs/usr/share/qemu |
pankso@10749 | 44 cp -a $install/usr/bin $fs/usr |
pankso@10749 | 45 cp -a $install/usr/share/qemu/keymaps $fs/usr/share/qemu |
pascal@15035 | 46 for bin in bios.bin vgabios-cirrus.bin pxe-e1000.rom linuxboot.bin |
pankso@10749 | 47 do |
pankso@10749 | 48 cp -a $install/usr/share/qemu/$bin $fs/usr/share/qemu |
pankso@10749 | 49 done |
pankso@12978 | 50 # Create qemu symlink |
pankso@12978 | 51 cd $fs/usr/bin && ln -s qemu-system-i386 qemu |
pankso@10694 | 52 } |