New package: containers-1.0.

This commit is contained in:
Juan RP 2013-08-28 16:35:09 +02:00
parent 07c5f34e9c
commit 7322d614f3
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# Template file for 'containers'
pkgname=containers
version=1.0
revision=1
short_desc="Lightweight containers using Linux user namespaces"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="https://github.com/arachsys/containers"
long_desc="
This package is a simple implementation of containers for Linux, making
secure containers as easy to create and use as a traditional chroot. It
comprises three utilities, contain, inject and pseudo, which use the kernel
support for user namespaces merged in Linux 3.8."
do_fetch() {
git clone -b ${pkgname}-${version} \
git://github.com/arachsys/containers.git ${pkgname}-${version}
}
do_build() {
make CC=$CC CFLAGS="${CFLAGS}" ${makejobs}
}
do_install() {
# Disable strip
sed -e 's,-s ,,g' -i Makefile
make BINDIR=/usr/bin DESTDIR=${DESTDIR} install
}
containers_package() {
pkg_install() {
vmove all
}
}