30 lines
864 B
Bash
30 lines
864 B
Bash
# Template file for 'containers'
|
|
pkgname=containers
|
|
version=1.5
|
|
revision=1
|
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
|
short_desc="Lightweight containers using Linux user namespaces"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/arachsys/containers"
|
|
distfiles="https://github.com/arachsys/containers/archive/containers-${version}.tar.gz
|
|
https://github.com/Duncaen/containers/commit/b1694737841e30acee923d948c0d65a9c94281dd.patch>err.patch"
|
|
checksum="fdb286e1e2bbcccd3fee7672658114dc187f882d9414cf2fe1b62468c5400548
|
|
fed73cb27a7cd5b8750f4ca25657ad58d1a7b306a4c6d2464818b0f8aee368b8"
|
|
|
|
pre_build() {
|
|
patch -Np1 <../err.patch
|
|
rm ../err.patch
|
|
}
|
|
|
|
do_build() {
|
|
make CC=$CC CFLAGS="${CFLAGS}" ${makejobs}
|
|
}
|
|
do_install() {
|
|
vbin inject
|
|
vinstall contain 4755 usr/bin
|
|
vinstall pseudo 4755 usr/bin
|
|
vlicense COPYING
|
|
vdoc README
|
|
}
|