2008-03-20 17:55:37 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# 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) \
|
2008-07-08 07:41:44 +02:00
|
|
|
CFLAGS="-I$(STAGING_DIR)/usr/include \
|
|
|
|
-I$(STAGING_DIR)/usr/include/glib-2.0 \
|
|
|
|
-I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
2008-10-26 10:14:06 +01:00
|
|
|
PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
|
2008-10-26 07:19:43 +01:00
|
|
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
2008-03-20 17:55:37 +01:00
|
|
|
|
|
|
|
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
|
|
|
|
|
2008-10-26 10:14:13 +01:00
|
|
|
DOCKER_DEPENDENCIES = uclibc pkgconfig libglib2 $(XSERVER)
|
2008-03-20 17:55:37 +01:00
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,docker))
|
|
|
|
|
2008-10-26 10:14:10 +01:00
|
|
|
$(DOCKER_HOOK_POST_INSTALL): $(DOCKER_TARGET_INSTALL_TARGET)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/docker
|
|
|
|
touch $@
|