summaryrefslogtreecommitdiffstats
path: root/package/docker/docker.mk
blob: 9c8ded4484cf150fd7746ddc6f2123173f1641f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# docker
#
################################################################################

DOCKER_VERSION = 1.5
DOCKER_SOURCE = docker-$(DOCKER_VERSION).tar.gz
DOCKER_SITE = http://icculus.org/openbox/2/docker

DOCKER_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" LD="$(TARGET_LD)" \
					CFLAGS="-I$(STAGING_DIR)/usr/include \
						-I$(STAGING_DIR)/usr/include/glib-2.0 \
						-I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
					PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
					LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"

DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install

DOCKER_DEPENDENCIES = host-pkgconf libglib2 xlib_libX11

$(eval $(autotools-package))