2014-03-11 10:04:42 +01:00
|
|
|
# Template file for 'docker'
|
|
|
|
pkgname=docker
|
2015-08-13 06:38:37 +02:00
|
|
|
version=1.8.1
|
2015-08-12 07:54:04 +02:00
|
|
|
revision=1
|
2015-03-27 10:50:40 +01:00
|
|
|
hostmakedepends="git go"
|
2014-08-24 09:27:01 +02:00
|
|
|
makedepends="libbtrfs-devel sqlite-devel device-mapper-devel"
|
2015-06-05 21:54:53 +02:00
|
|
|
short_desc="Pack, ship and run any application as a lightweight container"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-03-11 10:04:42 +01:00
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="http://www.docker.io"
|
2014-07-11 15:17:06 +02:00
|
|
|
system_groups="docker"
|
2014-03-11 10:04:42 +01:00
|
|
|
|
|
|
|
# These are required at run-time.
|
|
|
|
depends="iptables xz git"
|
2014-06-12 12:21:34 +02:00
|
|
|
nostrip=yes
|
2014-08-24 09:27:01 +02:00
|
|
|
nocross=yes
|
2015-08-12 07:56:49 +02:00
|
|
|
only_for_archs="x86_64 x86_64-musl"
|
2014-03-11 10:04:42 +01:00
|
|
|
|
2015-07-27 00:34:29 +02:00
|
|
|
distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz"
|
2015-08-13 06:38:37 +02:00
|
|
|
checksum=7f22e88a994dc1bc143f87215de01ccd902450e6e8d747467d042a56db792b03
|
2015-07-27 00:34:29 +02:00
|
|
|
|
2014-03-11 10:04:42 +01:00
|
|
|
do_build() {
|
|
|
|
export AUTO_GOPATH=1
|
2015-07-27 00:34:29 +02:00
|
|
|
export DOCKER_GITCOMMIT=v$version
|
2014-03-11 10:04:42 +01:00
|
|
|
./hack/make.sh dynbinary
|
|
|
|
}
|
|
|
|
do_install() {
|
2014-10-17 08:38:26 +02:00
|
|
|
vbin bundles/${version}/dynbinary/docker-${version} docker
|
2014-03-11 10:04:42 +01:00
|
|
|
vinstall bundles/${version}/dynbinary/dockerinit-${version} 755 usr/lib/docker dockerinit
|
|
|
|
vinstall contrib/completion/bash/docker 644 usr/share/bash-completion/completions
|
|
|
|
vinstall contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
|
2014-10-13 13:49:31 +02:00
|
|
|
vsv docker
|
2014-03-11 10:04:42 +01:00
|
|
|
}
|