void-packages/srcpkgs/linux-user-chroot/template

33 lines
842 B
Text

# Template file for 'linux-user-chroot'
pkgname=linux-user-chroot
version=v2012.2
revision=1
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Setuid helper for making bind mounts and chrooting"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://git.gnome.org/browse/linux-user-chroot/"
license="GPL-2"
long_desc="
This tool allows regular (non-root) users to call chroot(2), create
Linux bind mounts, and use some Linux container features. It's
primarily intended for use by build systems.
NOTE: Only users in the wheel group can use this tool."
do_fetch() {
local url="git://git.gnome.org/linux-user-chroot"
msg_normal "Fetching source from $url ...\n"
git clone -b${version} ${url} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}
linux-user-chroot_package() {
pkg_install() {
vmove usr
}
}