2012-10-05 09:33:05 +00:00
|
|
|
# Template file for 'linux-user-chroot'
|
|
|
|
pkgname=linux-user-chroot
|
|
|
|
version=v2012.2
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="automake"
|
2012-10-05 09:33:05 +00:00
|
|
|
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."
|
|
|
|
|
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
linux-user-chroot_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|