blob: 8a0ae9da1807b5934a09236a7664628840f2f928 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kubernetes
pkgver=1.7.2
pkgrel=0
pkgdesc="Container Cluster Manager for Docker"
url="http://kubernetes.io/"
arch="x86_64"
license="APACHE"
options="!nostrip"
depends="bash"
makedepends="go rsync bash linux-headers findutils coreutils"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
no-gnu-grep.patch
make-e2e_node-run-over-distro-bins.patch
make-test-cmd-run-over-hyperkube-based-kubectl.patch
build-with-debug-info.patch
fix-support-for-ppc64le.patch
remove-apiserver-add-kube-prefix-for-hyperkube.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make -j1
}
package() {
cd "$builddir"
binaries="kube-proxy
kube-apiserver
kube-controller-manager
kubelet
kubeadm
hyperkube
kube-aggregator
kube-scheduler
kubectl
kubefed"
for bin in $binaries; do
install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin
done
install -d $pkgdir/var/lib/kubelet
}
sha512sums="38de356e95198cc7db077e994b6369e807ad65b507f14d342e82e1d08dcf03797771afe45bf043d9d40b7f49e73c3e310117eef98c32eeb4a682eb3d6b670216 kubernetes-1.7.2.tar.gz
18dadb171ba860f382d5185b88ec6a1338c322ffead133f2ab27c9bf0a2363ef4c7b94ead5a95c0d77539144e818ccc5fc864c642382d1f1974787b191a8a6ce no-gnu-grep.patch
06e3e8626b70077eb693da9c53dca3bc566aea4590a27c5dd3997b6d34abec5bf5d749b7be94b60b83361884c29b3a6dbb56c40b18c008b19e7cbd6e0d5c87e6 make-e2e_node-run-over-distro-bins.patch
07ecfbdb005250c65360a7357aeaacd1b342658c6685d37c0ea6b4740e4aebebc0213f74a81926bc0a6262161602d53f0c6cb6f19c5ecfb3be90c9372dc3cccd make-test-cmd-run-over-hyperkube-based-kubectl.patch
9f1a86529893aca8a3c757bf61e7f0bd0c6c92ccc94f48ddc583374cf92d3961f4f98a3a6c2c87c29ebeaae04a95ccdd8435d1e1eebdd82eff9c0827e810fbe6 build-with-debug-info.patch
ff043b723edc644a8270a471bfb45b400a4547a9dd70b28c5c27dc041d956da2d1da36422694b35ac589a7ca651de44c7346d3d63fd36ec570bab7325a6fd73b fix-support-for-ppc64le.patch
469a93156ea5919fa77e54a0a142bf44a899d841bdf180a78ab5fd751891b18d675bd6b807f04da85fc7962c43e2f840a4587c3145e7829878089a3b17ec187e remove-apiserver-add-kube-prefix-for-hyperkube.patch"
|