2018-02-12 02:32:49 +01:00
|
|
|
# Template file for 'runc'
|
|
|
|
pkgname=runc
|
|
|
|
version=1.0.0
|
2018-05-21 12:27:21 +02:00
|
|
|
revision=5
|
|
|
|
_subver="rc5"
|
2018-02-12 02:32:49 +01:00
|
|
|
_ver="$version-$_subver"
|
|
|
|
build_style=go
|
|
|
|
go_import_path=github.com/opencontainers/runc
|
|
|
|
wrksrc="$pkgname-$_ver"
|
2018-05-21 12:27:21 +02:00
|
|
|
hostmakedepends="git pkg-config"
|
2018-02-12 02:32:49 +01:00
|
|
|
makedepends="libseccomp-devel"
|
|
|
|
short_desc="CLI tool for spawning and running OCI containers"
|
|
|
|
maintainer="Paul Knopf <pauldotknopf@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/opencontainers/runc"
|
|
|
|
distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz"
|
2018-05-21 12:27:21 +02:00
|
|
|
checksum=0304d249d0d381fbe4812999d30491b7abebf5a730aac59119f362cb7fdb2a20
|
2018-02-12 02:32:49 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd ${GOSRCPATH}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
cd ${GOSRCPATH}
|
|
|
|
make install BINDIR=${DESTDIR}/usr/bin
|
|
|
|
}
|