[arch-commits] CVS update of extra/emulators/qemu (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Fri Oct 5 07:33:46 UTC 2007


    Date: Friday, October 5, 2007 @ 03:33:46
  Author: tpowa
    Path: /home/cvs-extra/extra/emulators/qemu

Modified: PKGBUILD (1.13 -> 1.14)

'upgpgk: cleaned up added missing depend'


----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)


Index: extra/emulators/qemu/PKGBUILD
diff -u extra/emulators/qemu/PKGBUILD:1.13 extra/emulators/qemu/PKGBUILD:1.14
--- extra/emulators/qemu/PKGBUILD:1.13	Fri Oct  5 03:19:34 2007
+++ extra/emulators/qemu/PKGBUILD	Fri Oct  5 03:33:46 2007
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD,v 1.13 2007/10/05 07:19:34 tpowa Exp $
+# $Id: PKGBUILD,v 1.14 2007/10/05 07:33:46 tpowa Exp $
 # Maintainer: Thomas B�chler <thomas at archlinux.org>
 pkgname=qemu
 pkgver=0.9.0
-pkgrel=7
+pkgrel=8
+_kvmver=45
 pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
 arch=(i686 x86_64)
 license=('GPL')
 url="http://fabrice.bellard.free.fr/qemu/"
-depends=('sdl' 'alsa-lib' 'zlib' 'e2fsprogs')
+depends=('sdl' 'alsa-lib' 'zlib' 'e2fsprogs' 'gnutls')
 makedepends=('gcc34')
 install=qemu.install
 source=(http://fabrice.bellard.free.fr/qemu/${pkgname}-${pkgver}.tar.gz \
         70-kqemu.rules \
-        http://downloads.sourceforge.net/kvm/kvm-45.tar.gz)
+        http://downloads.sourceforge.net/kvm/kvm-$_kvmver.tar.gz)
 
 build()
 {
@@ -34,21 +35,24 @@
                    ${startdir}/pkg/etc/udev/rules.d/70-kqemu.rules
 
   # we add the kvm/qemu version
-    cd ${startdir}/src/kvm-45
+    cd ${startdir}/src/kvm-$_kvmver
     ./configure --prefix=/usr --qemu-cc=gcc-3.4
 
     for dir in user qemu; do
-      cd ${startdir}/src/kvm-45/${dir}
+      cd ${startdir}/src/kvm-$_kvmver/${dir}
       make || return 1
     done
    # install kvm-qemu
     if [ "${CARCH}" = "x86_64" ]; then
-      install -m 755 ${startdir}/src/kvm-45/qemu/x86_64-softmmu/qemu-system-x86_64 \
+      install -m 755 ${startdir}/src/kvm-$_kvmver/qemu/x86_64-softmmu/qemu-system-x86_64 \
         ${startdir}/pkg/usr/bin/qemu-system-x86_64-kvm
     else 
-      install -m 755 ${startdir}/src/kvm-45/qemu/i386-softmmu/qemu \
+      install -m 755 ${startdir}/src/kvm-$_kvmver/qemu/i386-softmmu/qemu \
         ${startdir}/pkg/usr/bin/qemu-kvm
     fi
-    install -D -m644 ${startdir}/src/kvm-45/scripts/65-kvm.rules \
+    install -D -m644 ${startdir}/src/kvm-$_kvmver/scripts/65-kvm.rules \
     	${startdir}/pkg/etc/udev/rules.d/65-kvm.rules || return 1
 }
+md5sums=('ab11a03ba30cf4a70641f0f170473d69'
+         'ec06591830b8fcf53913f05f3d66f7e5'
+         'c68ea4f31ab9d4b98e2cbb497c31f62e')




More information about the arch-commits mailing list