aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kubernetes/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/kubernetes/APKBUILD')
-rw-r--r--unmaintained/kubernetes/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/kubernetes/APKBUILD b/unmaintained/kubernetes/APKBUILD
new file mode 100644
index 0000000000..f8b3deb566
--- /dev/null
+++ b/unmaintained/kubernetes/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=kubernetes
+pkgver=1.5.1
+pkgrel=1
+pkgdesc="Container Cluster Manager for Docker"
+url="http://kubernetes.io/"
+arch="x86_64"
+license="APACHE"
+depends="bash"
+makedepends="go rsync bash linux-headers findutils coreutils"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
+no-gnu-grep.patch"
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ binaries="kube-apiserver kube-controller-manager kube-scheduler kube-proxy kubelet kubectl kubemark hyperkube"
+ for bin in $binaries ; do
+ install -Dm755 _output/local/bin/linux/amd64/$bin $pkgdir/usr/bin/$bin
+ done
+ install -d $pkgdir/var/lib/kubelet
+}
+
+md5sums="bbac1e628ac4459a789b5c55ef08798d kubernetes-1.5.1.tar.gz
+165b04cecdd70c222258dd8526884147 no-gnu-grep.patch"
+sha256sums="629f73b8519157e863df9cf2e724c188ceff842aeafa9953727460707f615d85 kubernetes-1.5.1.tar.gz
+5ad044c88f1943896d1a4594d1d50658efc4e0a9af12feef2447627cabb50fb7 no-gnu-grep.patch"
+sha512sums="ca86004b82d6e461e264b95b9f0eff0f0e912bae9c1075ac7b940b7b4f7a70e3d19f726d4b66c7e2aa140fd21c86d68bda32002593c31c82f158a26e4569120b kubernetes-1.5.1.tar.gz
+66f9cb208ed8074532f6013480560af44b49adca25b7e266772beaf148771af4e0d01dc42409ac81af3006036d90b822214d43fd1840d33a120dfcb0a9422a9b no-gnu-grep.patch"