422ce6536b
A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
29 lines
960 B
Makefile
29 lines
960 B
Makefile
#############################################################
|
|
#
|
|
# 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 \
|
|
-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-pkgconfig libglib2 xserver_xorg-server
|
|
|
|
$(eval $(call AUTOTARGETS,package,docker))
|
|
|
|
$(DOCKER_HOOK_POST_INSTALL): $(DOCKER_TARGET_INSTALL_TARGET)
|
|
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/docker
|
|
touch $@
|