kumquat-buildroot/package/dillo/dillo.mk
Thomas Petazzoni 74ecbaa23d xorg: remove the XSERVER variable
The XSERVER variable used to be defined by package/Makefile.in because
the X server package name was different depending on the type of X
server that was choosen. Nowadays, the name of the package is always
xserver_xorg-server, so there's no point in having this XSERVER
intermediate variable.

This patch makes all packages use xserver_xorg-server directly as a
dependency, and removes the XSERVER variable from package/Makefile.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24 23:26:48 +02:00

59 lines
1.5 KiB
Makefile

#############################################################
#
# dillo
#
#############################################################
DILLO_VERSION=0.8.6
DILLO_SOURCE=dillo-$(DILLO_VERSION).tar.bz2
DILLO_SITE=http://www.dillo.org/download/
DILLO_DIR=$(BUILD_DIR)/dillo-$(DILLO_VERSION)
DILLO_CAT:=$(BZCAT)
$(DL_DIR)/$(DILLO_SOURCE):
$(call DOWNLOAD,$(DILLO_SITE),$(DILLO_SOURCE))
$(DILLO_DIR)/.unpacked: $(DL_DIR)/$(DILLO_SOURCE)
$(DILLO_CAT) $(DL_DIR)/$(DILLO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(DILLO_DIR)/.unpacked
$(DILLO_DIR)/.configured: $(DILLO_DIR)/.unpacked
(cd $(DILLO_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--sysconfdir=/etc \
--program-transform-name='' \
--disable-dlgui \
)
touch $(DILLO_DIR)/.configured
$(DILLO_DIR)/src/dillo: $(DILLO_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(DILLO_DIR)
$(DILLO_DIR)/.installed: $(DILLO_DIR)/src/dillo
$(MAKE) -C $(DILLO_DIR) DESTDIR=$(TARGET_DIR) install
touch $(DILLO_DIR)/.installed
dillo: uclibc xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
dillo-source: $(DL_DIR)/$(DILLO_SOURCE)
dillo-clean:
-$(MAKE) -C $(DILLO_DIR) clean
dillo-dirclean:
rm -rf $(DILLO_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DILLO),y)
TARGETS+=dillo
endif