void-packages/srcpkgs/containers/template

25 lines
540 B
Bash
Raw Normal View History

2013-08-28 16:35:09 +02:00
# Template file for 'containers'
pkgname=containers
2014-02-23 05:15:56 +01:00
version=1.2
2015-04-03 16:26:47 +02:00
revision=2
hostmakedepends="git"
2013-08-28 16:35:09 +02:00
short_desc="Lightweight containers using Linux user namespaces"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-08-28 16:35:09 +02:00
license="MIT"
homepage="https://github.com/arachsys/containers"
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() {
2015-04-03 16:26:47 +02:00
vbin inject
vinstall contain 4755 usr/bin
vinstall pseudo 4755 usr/bin
2013-08-28 16:35:09 +02:00
}