New package: docker-0.9.0.
This commit is contained in:
parent
0ff6d7668e
commit
1dddb089cf
30
srcpkgs/docker/template
Normal file
30
srcpkgs/docker/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'docker'
|
||||
pkgname=docker
|
||||
version=0.9.0
|
||||
revision=1
|
||||
hostmakedepends="go>=1.2"
|
||||
makedepends="git iptables xz libbtrfs-devel sqlite-devel device-mapper-devel"
|
||||
short_desc="Easily create lightweight, portable, self-sufficient containers from any application"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="http://www.docker.io"
|
||||
|
||||
# These are required at run-time.
|
||||
depends="iptables xz git"
|
||||
|
||||
do_fetch() {
|
||||
git clone -b v${version} git://github.com/dotcloud/docker ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
export AUTO_GOPATH=1
|
||||
./hack/make.sh dynbinary
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall bundles/${version}/dynbinary/docker-${version} 755 usr/bin docker
|
||||
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
|
||||
vinstall contrib/init/systemd/docker.service 644 usr/lib/systemd/system
|
||||
}
|
Loading…
Reference in New Issue
Block a user