2018-12-03 01:06:38 +01:00
|
|
|
# Template file for 'cni-plugins'
|
|
|
|
pkgname=cni-plugins
|
|
|
|
version=0.7.4
|
2018-12-16 04:58:34 +01:00
|
|
|
revision=2
|
2018-12-03 01:06:38 +01:00
|
|
|
wrksrc="plugins-${version}"
|
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/containernetworking/plugins"
|
|
|
|
short_desc="Container Network Interface (plugins)"
|
|
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/containernetworking/plugins"
|
|
|
|
distfiles="https://github.com/containernetworking/plugins/archive/v${version}.tar.gz"
|
|
|
|
checksum=d47f2bda2bfd6699843a98d91a2e5c40aa58eacd3f2393c7696c158c410aad3c
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
./build.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/libexec/cni
|
|
|
|
vcopy "bin/*" usr/libexec/cni
|
|
|
|
}
|