From: Peter Korsgaard Date: Tue, 24 Mar 2009 10:58:04 +0000 (-0000) Subject: package: provide download target for host packages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91149af9f31a4ae41045516bee745d217677e03f;p=buildroot.git package: provide download target for host packages --- diff --git a/package/atk/atk.mk b/package/atk/atk.mk index 0f30ae1711..199ec7d5cc 100644 --- a/package/atk/atk.mk +++ b/package/atk/atk.mk @@ -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))) $< | \ diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index a7b897651d..5e29909c10 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -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))) $< | \ diff --git a/package/automake/automake.mk b/package/automake/automake.mk index 0eb2b597ea..5885470d09 100644 --- a/package/automake/automake.mk +++ b/package/automake/automake.mk @@ -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))) $< | \ diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 8cfa846695..048351e50e 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -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))) $< | \ diff --git a/package/dbus-glib/dbus-glib.mk b/package/dbus-glib/dbus-glib.mk index 7cbc901ccb..ae99dbc2d6 100644 --- a/package/dbus-glib/dbus-glib.mk +++ b/package/dbus-glib/dbus-glib.mk @@ -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))) $< | \ diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index b04d67ae56..b987b1c261 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -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))) $< | \ diff --git a/package/expat/expat.mk b/package/expat/expat.mk index 95383e6106..88a7f1674b 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -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))) $< | \ diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk index b6e87f9765..e61d736111 100644 --- a/package/fontconfig/fontconfig.mk +++ b/package/fontconfig/fontconfig.mk @@ -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))) $< | \ diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 774471f6a4..d71ad96bb7 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -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))) $< | \ diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index 90d4fd84a6..01f874b6db 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -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))) $< | \ diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk index 7b772a3d08..7db0067bbd 100644 --- a/package/libgtk2/libgtk2.mk +++ b/package/libgtk2/libgtk2.mk @@ -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))) $< | \ diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index 19484864cd..a649a7435d 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -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))) $< | \ diff --git a/package/pango/pango.mk b/package/pango/pango.mk index 40c9d2a066..1bcc7c624a 100644 --- a/package/pango/pango.mk +++ b/package/pango/pango.mk @@ -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))) $< | \ diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk index 9270e6cef5..248a3843c7 100644 --- a/package/pixman/pixman.mk +++ b/package/pixman/pixman.mk @@ -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))) $< | \ diff --git a/package/pkgconfig/pkgconfig.mk b/package/pkgconfig/pkgconfig.mk index 600796720f..7310aae504 100644 --- a/package/pkgconfig/pkgconfig.mk +++ b/package/pkgconfig/pkgconfig.mk @@ -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))) $< | \