mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
New package: minikube-0.26.1
Closes: #13163 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
4f9901f8f5
commit
6cb75d5886
3 changed files with 54 additions and 0 deletions
1
srcpkgs/docker-machine-driver-kvm2
Symbolic link
1
srcpkgs/docker-machine-driver-kvm2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
minikube
|
9
srcpkgs/minikube/INSTALL.msg
Normal file
9
srcpkgs/minikube/INSTALL.msg
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
You might also need install one of the following for Minikube to work:
|
||||||
|
|
||||||
|
* virtualbox-ose (for VirtualBox driver)
|
||||||
|
* docker-machine-driver-kvm2 (for KVM2 driver)
|
||||||
|
|
||||||
|
For bash completions, install the 'bash-completion' package.
|
||||||
|
For zsh completions, put the following code in your ~/.zshrc:
|
||||||
|
|
||||||
|
source /usr/share/minikube/completion.zsh
|
44
srcpkgs/minikube/template
Normal file
44
srcpkgs/minikube/template
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Template file for 'minikube'
|
||||||
|
pkgname=minikube
|
||||||
|
version=0.26.1
|
||||||
|
revision=1
|
||||||
|
only_for_archs="x86_64 x86_64-musl"
|
||||||
|
build_style=go
|
||||||
|
hostmakedepends="git go-bindata python pkg-config"
|
||||||
|
makedepends="libvirt-devel"
|
||||||
|
go_import_path="k8s.io/minikube"
|
||||||
|
short_desc="Minikube is a tool that makes it easy to run Kubernetes locally"
|
||||||
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/kubernetes/minikube"
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
# We must clone it instead of downloading the tarball because the build
|
||||||
|
# process expects the directory to be a git repository
|
||||||
|
git clone -b v${version} https://github.com/kubernetes/minikube $wrksrc
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make
|
||||||
|
make out/docker-machine-driver-kvm2
|
||||||
|
|
||||||
|
out/minikube completion bash > completion.bash
|
||||||
|
out/minikube completion zsh > completion.zsh
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin out/minikube
|
||||||
|
vbin out/docker-machine-driver-kvm2
|
||||||
|
vinstall completion.bash 644 usr/share/bash-completion/completions minikube
|
||||||
|
vinstall completion.zsh 644 usr/share/$pkgname
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
docker-machine-driver-kvm2_package() {
|
||||||
|
short_desc="Minikube-maintained KVM driver for docker-machine"
|
||||||
|
depends="libvirt"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/docker-machine-driver-kvm2
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue