summaryrefslogtreecommitdiffstats
path: root/package/docker/docker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/docker/docker.mk')
-rw-r--r--package/docker/docker.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/docker/docker.mk b/package/docker/docker.mk
new file mode 100644
index 000000000..4152d43ab
--- /dev/null
+++ b/package/docker/docker.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# docker
+#
+#############################################################
+DOCKER_VERSION = 1.5
+DOCKER_SOURCE = docker-$(DOCKER_VERSION).tar.gz
+DOCKER_SITE = http://icculus.org/openbox/2/docker
+DOCKER_AUTORECONF = NO
+DOCKER_INSTALL_STAGING = NO
+DOCKER_INSTALL_TARGET = YES
+
+DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
+ CFLAGS="-I$(STAGING_DIR)/usr/include" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
+
+DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
+
+DOCKER_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,docker))
+