summaryrefslogtreecommitdiffstats
path: root/package/docker/docker.mk
blob: f82a48055968bd29052e9a410f1cabef588582a2 (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
#############################################################
#
# 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" \
					PKGCONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
					PKG_CONFIG_SYSROOT="$(STAGING_DIR)"

DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install

DOCKER_DEPENDENCIES = uclibc 

$(eval $(call AUTOTARGETS,package,docker))