docker: update to 1.2.0.

This commit is contained in:
Juan RP 2014-08-24 09:27:01 +02:00
parent 0319fe190f
commit a83c460a4d

View file

@ -1,9 +1,9 @@
# Template file for 'docker' # Template file for 'docker'
pkgname=docker pkgname=docker
version=1.1.1 version=1.2.0
revision=1 revision=1
hostmakedepends="git go>=1.2" hostmakedepends="git go>=1.2"
makedepends="git iptables xz libbtrfs-devel sqlite-devel device-mapper-devel" makedepends="libbtrfs-devel sqlite-devel device-mapper-devel"
short_desc="Easily create lightweight, portable, self-sufficient containers from any application" short_desc="Easily create lightweight, portable, self-sufficient containers from any application"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
@ -12,7 +12,9 @@ system_groups="docker"
# These are required at run-time. # These are required at run-time.
depends="iptables xz git" depends="iptables xz git"
build_options="systemd"
nostrip=yes nostrip=yes
nocross=yes
do_fetch() { do_fetch() {
git clone -b v${version} git://github.com/dotcloud/docker ${pkgname}-${version} git clone -b v${version} git://github.com/dotcloud/docker ${pkgname}-${version}
@ -28,5 +30,7 @@ do_install() {
vinstall bundles/${version}/dynbinary/dockerinit-${version} 755 usr/lib/docker dockerinit 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/bash/docker 644 usr/share/bash-completion/completions
vinstall contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions vinstall contrib/completion/zsh/_docker 644 usr/share/zsh/site-functions
if [ "$build_option_systemd" ]; then
vinstall contrib/init/systemd/docker.service 644 usr/lib/systemd/system vinstall contrib/init/systemd/docker.service 644 usr/lib/systemd/system
fi
} }