kernel-uml: update to 3.2.7.

This commit is contained in:
Juan RP 2012-02-21 17:29:58 +01:00
parent 76a4200ab6
commit 983c999c0a
1 changed files with 9 additions and 8 deletions

View File

@ -1,8 +1,11 @@
# Build template for 'kernel-uml'. # Build template for 'kernel-uml'.
. ${XBPS_SRCPKGDIR}/kernel/common-vars #
pkgname=kernel-uml 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" short_desc="Kernel ${version} for User Mode Linux"
long_desc=" long_desc="
User-mode Linux (UML) is a port of the Linux kernel to its own system call 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 build libpcap-devel
Add_dependency full uml-utilities Add_dependency full uml-utilities
do_build() do_build() {
{
make LDFLAGS= ARCH=um defconfig && make LDFLAGS= ARCH=um ${makejobs} make LDFLAGS= ARCH=um defconfig && make LDFLAGS= ARCH=um ${makejobs}
} }
do_install() do_install() {
{ vinstall linux 755 usr/bin
install -D -m755 ${wrksrc}/linux ${DESTDIR}/usr/bin/linux
make ARCH=um INSTALL_MOD_PATH=${DESTDIR}/usr/lib/uml modules_install make ARCH=um INSTALL_MOD_PATH=${DESTDIR}/usr/lib/uml modules_install
rm -f ${DESTDIR}/usr/lib/uml/lib/modules/${version}/{build,source} rm -f ${DESTDIR}/usr/lib/uml/lib/modules/${version}/{build,source}
mv ${DESTDIR}/usr/lib/uml/lib/modules ${DESTDIR}/usr/lib/uml mv ${DESTDIR}/usr/lib/uml/lib/modules ${DESTDIR}/usr/lib/uml