61062f97c2
docker is a X client application, so it doesn't make sense to depend on the X.org server. An inspection of docker Makefile and source code shows that it only needs the libX11 library, so we replace the X.org server dependency by a libX11 dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
730 B
Makefile
22 lines
730 B
Makefile
#############################################################
|
|
#
|
|
# 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))
|