2018-02-12 02:37:59 +01:00
|
|
|
# Template file for 'containerd'
|
|
|
|
pkgname=containerd
|
|
|
|
version=1.0.2
|
2018-02-24 16:11:35 +01:00
|
|
|
revision=2
|
2018-02-12 02:37:59 +01:00
|
|
|
_subver="rc.1"
|
|
|
|
_ver="$version-$_subver"
|
|
|
|
build_style=go
|
|
|
|
go_import_path=github.com/containerd/containerd
|
|
|
|
wrksrc="$pkgname-$_ver"
|
|
|
|
hostmakedepends="git go"
|
|
|
|
makedepends="libbtrfs-devel"
|
|
|
|
depends="runc"
|
|
|
|
short_desc="An open and reliable container runtime"
|
|
|
|
maintainer="Paul Knopf <pauldotknopf@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/containerd/containerd"
|
|
|
|
distfiles="https://github.com/containerd/containerd/archive/v${_ver}.tar.gz"
|
|
|
|
checksum=abece915b8017fa9de9afc1139a6adfbb829f192c707a6a8e13f17f17bb2c602
|
|
|
|
make_dirs="/var/lib/containerd 0755 root root"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd ${GOSRCPATH}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vsv containerd
|
|
|
|
cd ${GOSRCPATH}
|
|
|
|
make install DESTDIR=${DESTDIR}/usr/
|
|
|
|
}
|