mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
New package: runc-1.0.0
This commit is contained in:
parent
3a90474b4b
commit
e054597cef
1 changed files with 27 additions and 0 deletions
27
srcpkgs/runc/template
Normal file
27
srcpkgs/runc/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'runc'
|
||||||
|
pkgname=runc
|
||||||
|
version=1.0.0
|
||||||
|
revision=1
|
||||||
|
_subver="rc4"
|
||||||
|
_ver="$version-$_subver"
|
||||||
|
build_style=go
|
||||||
|
go_import_path=github.com/opencontainers/runc
|
||||||
|
wrksrc="$pkgname-$_ver"
|
||||||
|
hostmakedepends="git go pkg-config"
|
||||||
|
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"
|
||||||
|
checksum=a059c773455b723fa792fab3d82baa1e01de5b68defda70400ba3683831c7d95
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
cd ${GOSRCPATH}
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
cd ${GOSRCPATH}
|
||||||
|
make install BINDIR=${DESTDIR}/usr/bin
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue