1 # Maintainer: Marek Skrobacki <skrobul@skrobul.com>
5 pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This version has been patched to provide multicast functionality (used for GNS3 and Dynamips)."
7 license=('GPL2' 'LGPL2.1')
8 url="http://wiki.qemu.org/Index.html"
9 makedepends=('texi2html' 'perl')
10 depends=('libjpeg' 'libpng' 'sdl' 'alsa-lib' 'esound' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'curl' 'libsasl')
12 backup=('etc/qemu/target-x86_64.conf')
14 source=(http://savannah.nongnu.org/download/qemu/qemu-${pkgver}.tar.gz
16 qemu-${pkgver}-multicast.patch)
21 cd ${srcdir}/qemu-${pkgver}
22 patch -p1 --ignore-whitespace -i $srcdir/qemu-0.14.1-multicast.patch || return 1
23 sed -i -e 's/lib64/lib/g' x86_64.ld
24 ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list=oss,alsa,sdl,esd \
25 --audio-card-list=ac97,sb16,es1370,adlib \
27 --kerneldir="/usr/src/linux-$(uname -r)"
32 cd ${srcdir}/qemu-${pkgver}
33 make DESTDIR=${pkgdir} install
34 install -D -m644 ${srcdir}/65-kvm.rules \
35 ${pkgdir}/lib/udev/rules.d/65-kvm.rules
37 md5sums=('b6c713a8db638e173af53a62d5178640'
38 'b316a066d2f1bb57d8f5b7ea1d0d1caf'
39 '16744fd48654a92fa2b4e2b984d66569')