Advertisement
Guest User

Untitled

a guest
Jan 27th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. # Maintainer: Eric Cyb <cyberic99+arch .AT. gmail com>
  2. pkgname=qemu-linaro
  3. pkgver=1.0.50_2012.01
  4. pkgrel=1
  5. pkgdesc="Community Improvements on A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
  6. arch=('i686' 'x86_64')
  7. license=('GPL2' 'LGPL2.1')
  8. url="https://launchpad.net/qemu-linaro"
  9. makedepends=('texi2html' 'perl' 'python2')
  10. depends=('libjpeg' 'libpng' 'sdl' 'alsa-lib' 'nss' 'glib2' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'curl' 'libsasl' 'libgl')
  11. backup=('etc/qemu/target-x86_64.conf')
  12. conflicts=('qemu' 'qemu-kvm')
  13. provides=('qemu')
  14. install=qemu.install
  15. source=(http://launchpad.net/qemu-linaro/trunk/2012.01/+download/${pkgname}-${pkgver//_/-}.tar.gz
  16. 65-kvm.rules)
  17. options=(!strip)
  18.  
  19. build()
  20. {
  21. cd ${srcdir}/${pkgname}-${pkgver//_/-}
  22. sed -i -e 's/lib64/lib/g' x86_64.ld
  23. ./configure --prefix=/usr --sysconfdir=/etc --audio-drv-list=oss,alsa,sdl \
  24. --python=/usr/bin/python2 \
  25. --audio-card-list=ac97,sb16,es1370,hda \
  26. --enable-docs
  27. make
  28. }
  29.  
  30. package() {
  31. cd ${srcdir}/${pkgname}-${pkgver//_/-}
  32. make DESTDIR=${pkgdir} install
  33. install -D -m644 ${srcdir}/65-kvm.rules \
  34. ${pkgdir}/lib/udev/rules.d/65-kvm.rules
  35. # strip scripts directory
  36. find ${pkgdir}/usr/src/linux-${_kernver}/scripts -type f -perm -u+w 2>/dev/null | while read binary ; do
  37. case "$(file -bi "$binary")" in
  38. *application/x-executable*) # Binaries
  39. /usr/bin/strip $STRIP_BINARIES "$binary";;
  40. esac
  41. done
  42.  
  43. }
  44. md5sums=('3a76ee4459fd13c64f49a7274e01d943'
  45. 'b316a066d2f1bb57d8f5b7ea1d0d1caf')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement