# Template file for 'uml-utilities'
pkgname=uml-utilities
version=20070815
revision=4
wrksrc=tools-${version}
build_style=gnu-makefile
makedepends="readline-devel fuse-devel"
short_desc="User Mode Linux Utilities"
homepage="http://user-mode-linux.sourceforge.net"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://user-mode-linux.sourceforge.net/uml_utilities_${version}.tar.bz2"
checksum=f815f591a1c177729546969acf720958c5fd72b8d4d36bae26fdc5b64669b60e
long_desc="
 User-mode Linux is a port of the Linux kernel to its own system call interface.
 It provides a kind of virtual machine, which runs Linux as a user process under
 another Linux kernel. This is useful for kernel development, sandboxing,
 jailing, experimentation, and many other things.

 This package contains userspace utilities for use with User-mode Linux,
 including uml_mconsole, uml_moo, uml_switch, uml_net and tunctl."

pre_build() {
	sed -i -e "s|lib64|lib|" Makefile
}

uml-utilities_package() {
	pkg_install() {
		vmove usr
	}
}
