# atk for the host
ATK_HOST_DIR:=$(BUILD_DIR)/atk-$(ATK_VERSION)-host
+$(DL_DIR)/$(ATK_SOURCE):
+ $(call DOWNLOAD,$(ATK_SITE),$(ATK_SOURCE))
+
$(STAMP_DIR)/host_atk_unpacked: $(DL_DIR)/$(ATK_SOURCE)
mkdir -p $(ATK_HOST_DIR)
$(INFLATE$(suffix $(ATK_SOURCE))) $< | \
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" $(HOST_DIR)/usr/bin/autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
+$(DL_DIR)/$(AUTOCONF_SOURCE):
+ $(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
+
$(STAMP_DIR)/host_autoconf_unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
mkdir -p $(AUTOCONF_HOST_DIR)
$(INFLATE$(suffix $(AUTOCONF_SOURCE))) $< | \
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
+$(DL_DIR)/$(AUTOMAKE_SOURCE):
+ $(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
+
$(STAMP_DIR)/host_automake_unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
mkdir -p $(AUTOMAKE_HOST_DIR)
$(INFLATE$(suffix $(AUTOMAKE_SOURCE))) $< | \
# cairo for the host
CAIRO_HOST_DIR:=$(BUILD_DIR)/cairo-$(CAIRO_VERSION)-host
+$(DL_DIR)/$(CAIRO_SOURCE):
+ $(call DOWNLOAD,$(CAIRO_SITE),$(CAIRO_SOURCE))
+
$(STAMP_DIR)/host_cairo_unpacked: $(DL_DIR)/$(CAIRO_SOURCE)
mkdir -p $(CAIRO_HOST_DIR)
$(INFLATE$(suffix $(CAIRO_SOURCE))) $< | \
DBUS_GLIB_HOST_DIR:=$(BUILD_DIR)/dbus-glib-$(DBUS_GLIB_VERSION)-host
DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool
+$(DL_DIR)/$(DBUS_GLIB_SOURCE):
+ $(call DOWNLOAD,$(DBUS_GLIB_SITE),$(DBUS_GLIB_SOURCE))
+
$(STAMP_DIR)/host_dbusglib_unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
mkdir -p $(DBUS_GLIB_HOST_DIR)
$(INFLATE$(suffix $(DBUS_GLIB_SOURCE))) $< | \
DBUS_HOST_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)-host
DBUS_HOST_INTROSPECT:=$(DBUS_HOST_DIR)/introspect.xml
+$(DL_DIR)/$(DBUS_SOURCE):
+ $(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
+
$(STAMP_DIR)/host_dbus_unpacked: $(DL_DIR)/$(DBUS_SOURCE)
mkdir -p $(DBUS_HOST_DIR)
$(INFLATE$(suffix $(DBUS_SOURCE))) $< | \
# expat for the host
EXPAT_HOST_DIR:=$(BUILD_DIR)/expat-$(EXPAT_VERSION)-host
+$(DL_DIR)/$(EXPAT_SOURCE):
+ $(call DOWNLOAD,$(EXPAT_SITE),$(EXPAT_SOURCE))
+
$(STAMP_DIR)/host_expat_unpacked: $(DL_DIR)/$(EXPAT_SOURCE)
mkdir -p $(EXPAT_HOST_DIR)
$(INFLATE$(suffix $(EXPAT_SOURCE))) $< | \
# fontconfig for the host
FONTCONFIG_HOST_DIR:=$(BUILD_DIR)/fontconfig-$(FONTCONFIG_VERSION)-host
+$(DL_DIR)/$(FONTCONFIG_SOURCE):
+ $(call DOWNLOAD,$(FONTCONFIG_SITE),$(FONTCONFIG_SOURCE))
+
$(STAMP_DIR)/host_fontconfig_unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE)
mkdir -p $(FONTCONFIG_HOST_DIR)
$(INFLATE$(suffix $(FONTCONFIG_SOURCE))) $< | \
# freetype for the host
FREETYPE_HOST_DIR:=$(BUILD_DIR)/freetype-$(FREETYPE_VERSION)-host
+$(DL_DIR)/$(FREETYPE_SOURCE):
+ $(call DOWNLOAD,$(FREETYPE_SITE),$(FREETYPE_SOURCE))
+
$(STAMP_DIR)/host_freetype_unpacked: $(DL_DIR)/$(FREETYPE_SOURCE)
mkdir -p $(FREETYPE_HOST_DIR)
$(INFLATE$(suffix $(FREETYPE_SOURCE))) $< | \
LIBGLIB2_HOST_DIR:=$(BUILD_DIR)/libglib2-$(LIBGLIB2_VERSION)-host
LIBGLIB2_HOST_BINARY:=$(HOST_DIR)/usr/bin/glib-genmarshal
+$(DL_DIR)/$(LIBGLIB2_SOURCE):
+ $(call DOWNLOAD,$(LIBGLIB2_SITE),$(LIBGLIB2_SOURCE))
+
$(STAMP_DIR)/host_libglib2_unpacked: $(DL_DIR)/$(LIBGLIB2_SOURCE)
mkdir -p $(LIBGLIB2_HOST_DIR)
$(INFLATE$(suffix $(LIBGLIB2_SOURCE))) $< | \
# libgtk2 for the host
LIBGTK2_HOST_DIR:=$(BUILD_DIR)/libgtk2-$(LIBGTK2_VERSION)-host
+$(DL_DIR)/$(LIBGTK2_SOURCE):
+ $(call DOWNLOAD,$(LIBGTK2_SITE),$(LIBGTK2_SOURCE))
+
$(STAMP_DIR)/host_libgtk2_unpacked: $(DL_DIR)/$(LIBGTK2_SOURCE)
mkdir -p $(LIBGTK2_HOST_DIR)
$(INFLATE$(suffix $(LIBGTK2_SOURCE))) $< | \
# variables used by other packages
LIBTOOL:=$(HOST_DIR)/usr/bin/libtool
+$(DL_DIR)/$(LIBTOOL_SOURCE):
+ $(call DOWNLOAD,$(LIBTOOL_SITE),$(LIBTOOL_SOURCE))
+
$(STAMP_DIR)/host_libtool_unpacked: $(DL_DIR)/$(LIBTOOL_SOURCE)
mkdir -p $(LIBTOOL_HOST_DIR)
$(INFLATE$(suffix $(LIBTOOL_SOURCE))) $< | \
PANGO_HOST_DIR:=$(BUILD_DIR)/pango-$(PANGO_VERSION)-host
PANGO_HOST_BINARY:=$(HOST_DIR)/usr/bin/pango-querymodules
+$(DL_DIR)/$(PANGO_SOURCE):
+ $(call DOWNLOAD,$(PANGO_SITE),$(PANGO_SOURCE))
+
$(STAMP_DIR)/host_pango_unpacked: $(DL_DIR)/$(PANGO_SOURCE)
mkdir -p $(PANGO_HOST_DIR)
$(INFLATE$(suffix $(PANGO_SOURCE))) $< | \
# pixman for the host
PIXMAN_HOST_DIR:=$(BUILD_DIR)/pixman-$(PIXMAN_VERSION)-host
+$(DL_DIR)/$(PIXMAN_SOURCE):
+ $(call DOWNLOAD,$(PIXMAN_SITE),$(PIXMAN_SOURCE))
+
$(STAMP_DIR)/host_pixman_unpacked: $(DL_DIR)/$(PIXMAN_SOURCE)
mkdir -p $(PIXMAN_HOST_DIR)
$(INFLATE$(suffix $(PIXMAN_SOURCE))) $< | \
PKG_CONFIG_HOST_DIR:=$(BUILD_DIR)/pkg-config-$(PKG_CONFIG_VERSION)-host
PKG_CONFIG_HOST_BINARY:=$(HOST_DIR)/usr/bin/pkg-config
+$(DL_DIR)/$(PKG_CONFIG_SOURCE):
+ $(call DOWNLOAD,$(PKG_CONFIG_SITE),$(PKG_CONFIG_SOURCE))
+
$(STAMP_DIR)/host_pkgconfig_unpacked: $(DL_DIR)/$(PKG_CONFIG_SOURCE)
mkdir -p $(PKG_CONFIG_HOST_DIR)
$(INFLATE$(suffix $(PKG_CONFIG_SOURCE))) $< | \