updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qemu-legacy / PKGBUILD
blobd7613aa84abfdfefef66fec5a0a0f69bf38c2ef2
1 # Maintainer: Vamp898 (vamp898@web.de)
2 pkgname=qemu-legacy
3 _realpkgname=qemu
4 pkgver=0.11.1
5 pkgrel=1
6 pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
7 arch=('i686' 'x86_64')
8 license=('GPL2' 'LGPL2.1')
9 url="http://www.nongnu.org/qemu/"
10 depends=('sdl' 'alsa-lib' 'esound' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'curl' 'libsasl')
11 install=qemu.install
12 source=(http://savannah.nongnu.org/download/${_realpkgname}/${_realpkgname}-${pkgver}.tar.gz
13         65-kvm.rules
14         70-kqemu.rules)
16 build()
18   cd ${srcdir}/${_realpkgname}-${pkgver}
19   sed -i -e 's/lib64/lib/g' x86_64.ld || return 1
20   ./configure --prefix=/usr --audio-drv-list=oss,alsa,sdl,esd \
21               --audio-card-list=ac97,sb16,es1370,adlib \
22               --kerneldir="/usr/src/linux-$(uname -r)"
23   make || return 1
24   make DESTDIR=${pkgdir} install || return 1
25   install -D -m644 ${srcdir}/70-kqemu.rules \
26                    ${pkgdir}/lib/udev/rules.d/70-kqemu.rules
27   install -D -m644 ${srcdir}/65-kvm.rules \
28                    ${pkgdir}/lib/udev/rules.d/65-kvm.rules
30 md5sums=('193285b0bcf655a7f7577d05ffcb82b1'
31          'cead7ba387159d360f892281499975df'
32          'ec06591830b8fcf53913f05f3d66f7e5')