package: provide download target for host packages
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Mar 2009 10:58:04 +0000 (10:58 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Mar 2009 10:58:04 +0000 (10:58 -0000)
15 files changed:
package/atk/atk.mk
package/autoconf/autoconf.mk
package/automake/automake.mk
package/cairo/cairo.mk
package/dbus-glib/dbus-glib.mk
package/dbus/dbus.mk
package/expat/expat.mk
package/fontconfig/fontconfig.mk
package/freetype/freetype.mk
package/libglib2/libglib2.mk
package/libgtk2/libgtk2.mk
package/libtool/libtool.mk
package/pango/pango.mk
package/pixman/pixman.mk
package/pkgconfig/pkgconfig.mk

index 0f30ae1711cc4797db3a05836a96fc255b811d12..199ec7d5cc5ae1723ad950108b8d97ff0485843d 100644 (file)
@@ -60,6 +60,9 @@ $(eval $(call AUTOTARGETS,package,atk))
 # 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))) $< | \
index a7b897651dfecff3b45b5c3e72545d9bb2a926af..5e29909c105f68f5b40fcd3df5e6276099dde1b2 100644 (file)
@@ -24,6 +24,9 @@ AUTOCONF_HOST_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
 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))) $< | \
index 0eb2b597ea75eac9d5826a5f4d7e25a4c2603a22..5885470d0985796c15d526d4e20827cbb24365fb 100644 (file)
@@ -23,6 +23,9 @@ AUTOMAKE:=$(HOST_DIR)/usr/bin/automake
 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))) $< | \
index 8cfa8466959de8cb596e675e921989f4e2d51703..048351e50e1dc89ef2e55abadedc98cdc1eaf072 100644 (file)
@@ -87,6 +87,9 @@ $(eval $(call AUTOTARGETS,package,cairo))
 # 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))) $< | \
index 7cbc901ccb053b51fdbd05d9851c0dc3e411a3ae..ae99dbc2d61f18e8623a2f6bda8d9c05bd8be131 100644 (file)
@@ -31,6 +31,9 @@ $(eval $(call AUTOTARGETS,package,dbus-glib))
 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))) $< | \
index b04d67ae56c6c476b1cc281f8948ec54a5567297..b987b1c261473a4ea83cfabb1044788f492dade3 100644 (file)
@@ -61,6 +61,9 @@ $(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
 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))) $< | \
index 95383e6106da71069340b1d0d255ae47bbf37336..88a7f1674b57a4de2106716252194cb6eb760ccc 100644 (file)
@@ -27,6 +27,9 @@ $(EXPAT_HOOK_POST_INSTALL): $(EXPAT_TARGET_INSTALL_TARGET)
 # 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))) $< | \
index b6e87f9765af5e716f8e7c7cb8deb7ed80bfcc99..e61d736111feb06c797cad3fe082ff145657fe20 100644 (file)
@@ -28,6 +28,9 @@ $(eval $(call AUTOTARGETS,package,fontconfig))
 # 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))) $< | \
index 774471f6a46d52f4396a6aa0fd5d3b865dd4d26e..d71ad96bb7b2bc63c8b38ed5710fa31bee40593f 100644 (file)
@@ -26,6 +26,9 @@ $(FREETYPE_HOOK_POST_INSTALL):
 # 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))) $< | \
index 90d4fd84a691353ee3f484919253e72458d67c64..01f874b6db80c39c2eede61689841304ad86f103 100644 (file)
@@ -68,6 +68,9 @@ $(eval $(call AUTOTARGETS,package,libglib2))
 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))) $< | \
index 7b772a3d08a34198303eacbde9ff94e4268b9a9c..7db0067bbd5d6d43a2aa14494a480198c1c51652 100644 (file)
@@ -135,6 +135,9 @@ $(LIBGTK2_HOOK_POST_INSTALL):
 # 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))) $< | \
index 19484864cd8319aefde7afbfb0ac752d0a0a7e96..a649a7435dce0fe9d8baf1f5127d61f49e7c8ce5 100644 (file)
@@ -21,6 +21,9 @@ LIBTOOL_HOST_DIR:=$(BUILD_DIR)/libtool-$(LIBTOOL_VERSION)-host
 # 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))) $< | \
index 40c9d2a066ec5911999e751a06275195363efd40..1bcc7c624a9e6b55063b2b64e43ffa88d66b584a 100644 (file)
@@ -66,6 +66,9 @@ $(PANGO_HOOK_POST_INSTALL):
 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))) $< | \
index 9270e6cef5a638b2f1f61e40f28e4e64e387169c..248a3843c70c11de543d816ceabc20436ed9e969 100644 (file)
@@ -14,6 +14,9 @@ $(eval $(call AUTOTARGETS,package,pixman))
 # 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))) $< | \
index 600796720f0728122dd7564f04fa9138c3411eb7..7310aae50457e60a8d0638e8c297ff00b540bc88 100644 (file)
@@ -21,6 +21,9 @@ $(eval $(call AUTOTARGETS,package,pkgconfig))
 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))) $< | \