2006-09-19 16:19:32 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# 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)
|
2006-11-17 16:43:51 +01:00
|
|
|
DILLO_CAT:=$(BZCAT)
|
2006-09-19 16:19:32 +02:00
|
|
|
|
|
|
|
$(DL_DIR)/$(DILLO_SOURCE):
|
2009-01-16 12:42:52 +01:00
|
|
|
$(call DOWNLOAD,$(DILLO_SITE),$(DILLO_SOURCE))
|
2006-09-19 16:19:32 +02:00
|
|
|
|
|
|
|
$(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) \
|
2007-06-27 14:01:27 +02:00
|
|
|
$(TARGET_CONFIGURE_ARGS) \
|
2009-10-01 21:24:42 +02:00
|
|
|
./configure $(QUIET) \
|
2006-09-19 16:19:32 +02:00
|
|
|
--target=$(GNU_TARGET_NAME) \
|
|
|
|
--host=$(GNU_TARGET_NAME) \
|
|
|
|
--build=$(GNU_HOST_NAME) \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--program-transform-name='' \
|
|
|
|
--disable-dlgui \
|
2007-08-21 21:20:18 +02:00
|
|
|
)
|
2006-09-19 16:19:32 +02:00
|
|
|
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
|
|
|
|
|
2009-09-02 17:02:02 +02:00
|
|
|
dillo: xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
|
2006-09-19 16:19:32 +02:00
|
|
|
|
|
|
|
dillo-source: $(DL_DIR)/$(DILLO_SOURCE)
|
|
|
|
|
|
|
|
dillo-clean:
|
2008-03-27 16:42:42 +01:00
|
|
|
-$(MAKE) -C $(DILLO_DIR) clean
|
2006-09-19 16:19:32 +02:00
|
|
|
|
|
|
|
dillo-dirclean:
|
|
|
|
rm -rf $(DILLO_DIR)
|
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Toplevel Makefile options
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_DILLO),y)
|
2006-09-19 16:19:32 +02:00
|
|
|
TARGETS+=dillo
|
|
|
|
endif
|