From 983c999c0a1162fcd007a24df7d40520f1d95759 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Feb 2012 17:29:58 +0100 Subject: [PATCH] kernel-uml: update to 3.2.7. --- srcpkgs/kernel-uml/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/kernel-uml/template b/srcpkgs/kernel-uml/template index d37b2cd8eaf..836a202f12c 100644 --- a/srcpkgs/kernel-uml/template +++ b/srcpkgs/kernel-uml/template @@ -1,8 +1,11 @@ # Build template for 'kernel-uml'. -. ${XBPS_SRCPKGDIR}/kernel/common-vars - +# pkgname=kernel-uml -revision=1 +version=3.2.6 +wrksrc=linux-${version} +homepage="http://www.kernel.org" +distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz" +checksum=9db97d45638017e6dfaed768cfa9f47533c9c9fb3538bce0e594d9feff5489b4 short_desc="Kernel ${version} for User Mode Linux" long_desc=" User-mode Linux (UML) is a port of the Linux kernel to its own system call @@ -17,14 +20,12 @@ Add_dependency build perl ">=0" Add_dependency build libpcap-devel Add_dependency full uml-utilities -do_build() -{ +do_build() { make LDFLAGS= ARCH=um defconfig && make LDFLAGS= ARCH=um ${makejobs} } -do_install() -{ - install -D -m755 ${wrksrc}/linux ${DESTDIR}/usr/bin/linux +do_install() { + vinstall linux 755 usr/bin make ARCH=um INSTALL_MOD_PATH=${DESTDIR}/usr/lib/uml modules_install rm -f ${DESTDIR}/usr/lib/uml/lib/modules/${version}/{build,source} mv ${DESTDIR}/usr/lib/uml/lib/modules ${DESTDIR}/usr/lib/uml