2013-08-28 14:35:09 +00:00
|
|
|
# Template file for 'containers'
|
|
|
|
pkgname=containers
|
2014-02-23 04:15:56 +00:00
|
|
|
version=1.2
|
|
|
|
revision=1
|
2013-08-28 14:35:09 +00:00
|
|
|
short_desc="Lightweight containers using Linux user namespaces"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
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() {
|
|
|
|
# Disable strip
|
|
|
|
sed -e 's,-s ,,g' -i Makefile
|
|
|
|
make BINDIR=/usr/bin DESTDIR=${DESTDIR} install
|
|
|
|
}
|