[arch-commits] CVS update of extra/modules/kvm-modules (PKGBUILD)
Thomas Baechler
thomas at archlinux.org
Mon Jul 9 21:53:48 UTC 2007
Date: Monday, July 9, 2007 @ 17:53:48
Author: thomas
Path: /home/cvs-extra/extra/modules/kvm-modules
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: kvm-modules 28-5
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Index: extra/modules/kvm-modules/PKGBUILD
diff -u extra/modules/kvm-modules/PKGBUILD:1.1 extra/modules/kvm-modules/PKGBUILD:1.2
--- extra/modules/kvm-modules/PKGBUILD:1.1 Mon Jun 11 03:28:45 2007
+++ extra/modules/kvm-modules/PKGBUILD Mon Jul 9 17:53:48 2007
@@ -1,14 +1,15 @@
+# $Id: PKGBUILD,v 1.2 2007/07/09 21:53:48 thomas Exp $
# Contributor: Dario Bazzichetto <headhunter at tiscali.it>
+
pkgname=kvm-modules
pkgver=28
-pkgrel=1
+pkgrel=5
pkgdesc="KVM is a full virtualization solution for Linux on x86 hardware."
url="http://kvm.qumranet.com/kvmwiki"
-license="GPL"
+license=('GPL')
arch=('i686' 'x86_64')
depends=('sdl' 'zlib' 'alsa-lib' 'e2fsprogs')
-makedepends=('gcc3')
-_kver=2.6.21-ARCH
+_kver=2.6.22-ARCH
install=kvm-modules.install
source=(http://downloads.sourceforge.net/kvm/kvm-${pkgver}.tar.gz)
@@ -17,8 +18,9 @@
# do not depmod while building
sed "s/\/sbin\/depmod -a//g" -i kernel/Makefile
+ # we only compile the module, we need our gcc
./configure --prefix=/usr \
- --qemu-cc=gcc-3.3|| return 1
+ --disable-gcc-check --qemu-cc="gcc" || return 1
for dir in kernel user; do
cd ${startdir}/src/kvm-${pkgver}/${dir}
@@ -33,6 +35,8 @@
mv ${startdir}/pkg/lib/modules/${_kver}/extra \
${startdir}/pkg/lib/modules/${_kver}/misc
- mv ${startdir}/pkg/usr/lib64 \
- ${startdir}/pkg/usr/lib
+ if [ "${CARCH}" = "x86_64" ]; then
+ mv ${startdir}/pkg/usr/lib64 \
+ ${startdir}/pkg/usr/lib
+ fi
}
More information about the arch-commits
mailing list