ACPID_SITE=$(BR2_DEBIAN_MIRROR)/debian/pool/main/a/acpid
$(DL_DIR)/$(ACPID_SOURCE):
- $(WGET) -P $(DL_DIR) $(ACPID_SITE)/$(ACPID_SOURCE)
+ $(call DOWNLOAD,$(ACPID_SITE),$(ACPID_SOURCE))
$(ACPID_DIR)/.unpacked: $(DL_DIR)/$(ACPID_SOURCE)
$(ZCAT) $(DL_DIR)/$(ACPID_SOURCE) | tar -C $(BUILD_DIR) -xvf -
ARGUS_TARGET_BINARY:=usr/sbin/argus
$(DL_DIR)/$(ARGUS_SOURCE):
- $(WGET) -P $(DL_DIR) $(ARGUS_SITE)/$(ARGUS_SOURCE)
+ $(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_SOURCE))
$(DL_DIR)/$(ARGUS_PATCH):
- $(WGET) -P $(DL_DIR) $(ARGUS_SITE)/$(ARGUS_PATCH)
+ $(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_PATCH))
argus-source: $(DL_DIR)/$(ARGUS_SOURCE) $(DL_DIR)/$(ARGUS_PATCH)
AT_BINARY:=at
$(DL_DIR)/$(AT_SOURCE):
- $(WGET) -P $(DL_DIR) $(AT_SITE)/$(AT_SOURCE)
+ $(call DOWNLOAD,$(AT_SITE),$(AT_SOURCE))
at-source: $(DL_DIR)/$(AT_SOURCE)
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
$(DL_DIR)/$(AUTOCONF_SOURCE):
- $(WGET) -P $(DL_DIR) $(AUTOCONF_SITE)/$(AUTOCONF_SOURCE)
+ $(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE)
ACLOCAL = aclocal -I $(ACLOCAL_DIR)
$(DL_DIR)/$(AUTOMAKE_SOURCE):
- $(WGET) -P $(DL_DIR) $(AUTOMAKE_SITE)/$(AUTOMAKE_SOURCE)
+ $(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE)
endif
$(DL_DIR)/$(AVAHI_SOURCE):
- $(WGET) -P $(DL_DIR) $(AVAHI_SITE)/$(AVAHI_SOURCE)
+ $(call DOWNLOAD,$(AVAHI_SITE),$(AVAHI_SOURCE))
avahi-source: $(DL_DIR)/$(AVAHI_SOURCE)
AXEL_TARGET_BINARY:=usr/bin/axel
$(DL_DIR)/$(AXEL_SOURCE):
- $(WGET) -P $(DL_DIR) $(AXEL_SITE)/$(AXEL_SOURCE)
+ $(call DOWNLOAD,$(AXEL_SITE),$(AXEL_SOURCE))
axel-source: $(DL_DIR)/$(AXEL_SOURCE)
BASH_TARGET_BINARY:=bin/bash
$(DL_DIR)/$(BASH_SOURCE):
- $(WGET) -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)
+ $(call DOWNLOAD,$(BASH_SITE),$(BASH_SOURCE))
bash-source: $(DL_DIR)/$(BASH_SOURCE)
DB_SHARLIB:=libdb-$(DB_SO_VERSION).so
$(DL_DIR)/$(DB_SOURCE):
- $(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
+ $(call DOWNLOAD,$(DB_SITE),$(DB_SOURCE))
berkeleydb-source: $(DL_DIR)/$(DB_SOURCE)
BIND_TARGET_BINARY:=usr/sbin/named
$(DL_DIR)/$(BIND_SOURCE):
- $(WGET) -P $(DL_DIR) $(BIND_SITE)/$(BIND_SOURCE)
+ $(call DOWNLOAD,$(BIND_SITE),$(BIND_SOURCE))
bind-source: $(DL_DIR)/$(BIND_SOURCE)
BISON_TARGET_BINARY:=usr/bin/bison
$(DL_DIR)/$(BISON_SOURCE):
- $(WGET) -P $(DL_DIR) $(BISON_SITE)/$(BISON_SOURCE)
+ $(call DOWNLOAD,$(BISON_SITE),$(BISON_SOURCE))
bison-source: $(DL_DIR)/$(BISON_SOURCE)
BOA_WORKDIR=$(BUILD_DIR)/boa_workdir
$(DL_DIR)/$(BOA_SOURCE):
- $(WGET) -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)
+ $(call DOWNLOAD,$(BOA_SITE),$(BOA_SOURCE))
$(BOA_DIR)/.unpacked: $(DL_DIR)/$(BOA_SOURCE)
$(BOA_CAT) $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
BSDIFF_ZCAT=$(ZCAT)
$(DL_DIR)/$(BSDIFF_SOURCE):
- $(WGET) -P $(DL_DIR) $(BSDIFF_SITE)/$(BSDIFF_SOURCE)
+ $(call DOWNLOAD,$(BSDIFF_SITE),$(BSDIFF_SOURCE))
$(BSDIFF_DIR)/.source: $(DL_DIR)/$(BSDIFF_SOURCE)
$(BSDIFF_ZCAT) $(DL_DIR)/$(BSDIFF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(BUSYBOX_SOURCE):
- $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
+ $(call DOWNLOAD,$(BUSYBOX_SITE),$(BUSYBOX_SOURCE))
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore
$(DL_DIR)/$(BZIP2_SOURCE):
- $(WGET) -P $(DL_DIR) $(BZIP2_SITE)/$(BZIP2_SOURCE)
+ $(call DOWNLOAD,$(BZIP2_SITE),$(BZIP2_SOURCE))
bzip2-source: $(DL_DIR)/$(BZIP2_SOURCE)
ln ls mkdir mknod mv pwd rm rmdir vdir sleep stty sync touch true uname
$(DL_DIR)/$(COREUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(COREUTILS_SITE)/$(COREUTILS_SOURCE)
+ $(call DOWNLOAD,$(COREUTILS_SITE),$(COREUTILS_SOURCE))
coreutils-source: $(DL_DIR)/$(COREUTILS_SOURCE)
endif
$(DL_DIR)/$(CUPS_SOURCE):
- $(WGET) -P $(DL_DIR) $(CUPS_SITE)/$(CUPS_SOURCE)
+ $(call DOWNLOAD,$(CUPS_SITE),$(CUPS_SOURCE))
$(CUPS_DIR)/.unpacked: $(DL_DIR)/$(CUPS_SOURCE)
$(CUPS_CAT) $(DL_DIR)/$(CUPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(CVS_SOURCE):
- $(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_SOURCE)
+ $(call DOWNLOAD,$(CVS_SITE),$(CVS_SOURCE))
ifneq ($(CVS_PATCH),)
CVS_PATCH_FILE=$(DL_DIR)/$(CVS_PATCH)
$(CVS_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(CVS_SITE)/$(CVS_PATCH)
+ $(call DOWNLOAD,$(CVS_SITE),$(CVS_PATCH))
endif
cvs-source: $(DL_DIR)/$(CVS_SOURCE) $(CVS_PATCH_FILE)
DASH_TARGET_BINARY:=bin/dash
$(DL_DIR)/$(DASH_SOURCE):
- $(WGET) -P $(DL_DIR) $(DASH_SITE)/$(DASH_SOURCE)
+ $(call DOWNLOAD,$(DASH_SITE),$(DASH_SOURCE))
$(DL_DIR)/$(DASH_PATCH1):
- $(WGET) -P $(DL_DIR) $(DASH_SITE)/$(DASH_PATCH1)
+ $(call DOWNLOAD,$(DASH_SITE),$(DASH_PATCH1))
dash-source: $(DL_DIR)/$(DASH_SOURCE) $(DL_DIR)/$(DASH_PATCH1)
SQLITE_CAT:=$(ZCAT)
$(DL_DIR)/$(SQLITE_SOURCE):
- $(WGET) -P $(DL_DIR) $(SQLITE_SITE)/$(SQLITE_SOURCE)
+ $(call DOWNLOAD,$(SQLITE_SITE),$(SQLITE_SOURCE))
$(SQLITE_DIR)/.unpacked: $(DL_DIR)/$(SQLITE_SOURCE)
$(SQLITE_CAT) $(DL_DIR)/$(SQLITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
DBUS_GLIB_TARGET_BINARY:=usr/bin/dbus-binding-tool
$(DL_DIR)/$(DBUS_GLIB_SOURCE):
- $(WGET) -P $(DL_DIR) $(DBUS_GLIB_SITE)/$(DBUS_GLIB_SOURCE)
+ $(call DOWNLOAD,$(DBUS_GLIB_SITE),$(DBUS_GLIB_SOURCE))
dbus-glib-source: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
endif
$(DL_DIR)/$(DBUS_SOURCE):
- $(WGET) -P $(DL_DIR) $(DBUS_SITE)/$(DBUS_SOURCE)
+ $(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
dbus-source: $(DL_DIR)/$(DBUS_SOURCE)
DEVMEM2_DIR:=$(BUILD_DIR)/devmem2
$(DL_DIR)/$(DEVMEM2_SOURCE):
- $(WGET) -P $(DL_DIR) $(DEVMEM2_SITE)/$(DEVMEM2_SOURCE)
+ $(call DOWNLOAD,$(DEVMEM2_SITE),$(DEVMEM2_SOURCE))
$(DEVMEM2_DIR)/$(DEVMEM2_SOURCE): $(DL_DIR)/$(DEVMEM2_SOURCE)
mkdir -p $(@D)
VARDB=/var/lib/dhcp
$(DL_DIR)/$(DHCP_SOURCE):
- $(WGET) -P $(DL_DIR) $(DHCP_SITE)/$(DHCP_SOURCE)
+ $(call DOWNLOAD,$(DHCP_SITE),$(DHCP_SOURCE))
dhcp-source: $(DL_DIR)/$(DHCP_SOURCE)
DIALOG_TARGET_BINARY:=usr/bin/dialog
$(DL_DIR)/$(DIALOG_SOURCE):
- $(WGET) -P $(DL_DIR) $(DIALOG_SITE)/$(DIALOG_SOURCE)
+ $(call DOWNLOAD,$(DIALOG_SITE),$(DIALOG_SOURCE))
$(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE)
$(ZCAT) $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
DIFFUTILS_TARGET_BINARY:=usr/bin/diff
$(DL_DIR)/$(DIFFUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(DIFFUTILS_SITE)/$(DIFFUTILS_SOURCE)
+ $(call DOWNLOAD,$(DIFFUTILS_SITE),$(DIFFUTILS_SOURCE))
diffutils-source: $(DL_DIR)/$(DIFFUTILS_SOURCE)
DILLO_CAT:=$(BZCAT)
$(DL_DIR)/$(DILLO_SOURCE):
- $(WGET) -P $(DL_DIR) $(DILLO_SITE)/$(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) -
endif
$(DL_DIR)/$(DIRECTFB_SOURCE):
- $(WGET) -P $(DL_DIR) $(DIRECTFB_SITE)/$(DIRECTFB_SOURCE)
+ $(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
DISTCC_TARGET_BINARY:=usr/bin/distcc
$(DL_DIR)/$(DISTCC_SOURCE):
- $(WGET) -P $(DL_DIR) $(DISTCC_SITE)/$(DISTCC_SOURCE)
+ $(call DOWNLOAD,$(DISTCC_SITE),$(DISTCC_SOURCE))
distcc-source: $(DL_DIR)/$(CVS_SOURCE)
DM_TARGET_HEADER:=$(TARGET_DIR)/usr/include/libdevmapper.h
$(DL_DIR)/$(DM_SOURCE):
- $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
- $(WGET) -P $(DL_DIR) $(DM_SITE_OLD)/$(DM_SOURCE)
+ $(call DOWNLOAD,$(DM_SITE),$(DM_SOURCE) || \)
+ $(call DOWNLOAD,$(DM_SITE_OLD),$(DM_SOURCE))
dm-source: $(DL_DIR)/$(DM_SOURCE)
DMALLOC_TARGET_BINARY:=usr/bin/dmalloc
$(DL_DIR)/$(DMALLOC_SOURCE):
- $(WGET) -P $(DL_DIR) $(DMALLOC_SITE)/$(DMALLOC_SOURCE)
+ $(call DOWNLOAD,$(DMALLOC_SITE),$(DMALLOC_SOURCE))
dmalloc-source: $(DL_DIR)/$(DMALLOC_SOURCE)
DMRAID_TARGET_BINARY:=$(TARGET_DIR)/sbin/$(DMRAID_BINARY)
$(DL_DIR)/$(DMRAID_SOURCE):
- $(WGET) -P $(DL_DIR) $(DMRAID_SITE)/$(DMRAID_SOURCE)
+ $(call DOWNLOAD,$(DMRAID_SITE),$(DMRAID_SOURCE))
dmraid-source: $(DL_DIR)/$(DMRAID_SOURCE)
endif
$(DL_DIR)/$(DNSMASQ_SOURCE):
- $(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE)
+ $(call DOWNLOAD,$(DNSMASQ_SITE),$(DNSMASQ_SOURCE))
$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
$(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear
$(DL_DIR)/$(DROPBEAR_SOURCE):
- $(WGET) -P $(DL_DIR) $(DROPBEAR_SITE)/$(DROPBEAR_SOURCE)
+ $(call DOWNLOAD,$(DROPBEAR_SITE),$(DROPBEAR_SOURCE))
dropbear-source: $(DL_DIR)/$(DROPBEAR_SOURCE)
# The download rule. Main purpose is to download the source package.
$(DL_DIR)/$(DUMMY_SOURCE):
- $(WGET) -P $(DL_DIR) $(DUMMY_SITE)/$(DUMMY_SOURCE)
+ $(call DOWNLOAD,$(DUMMY_SITE),$(DUMMY_SOURCE))
# The unpacking rule. Main purpose is to extract the source package, apply any
# patches and update config.guess and config.sub.
lsattr mke2fs mklost+found tune2fs uuidgen
$(DL_DIR)/$(E2FSPROGS_SOURCE):
- $(WGET) -P $(DL_DIR) $(E2FSPROGS_SITE)/$(E2FSPROGS_SOURCE)
+ $(call DOWNLOAD,$(E2FSPROGS_SITE),$(E2FSPROGS_SOURCE))
e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
NANO_TARGET_BINARY:=usr/bin/nano
$(DL_DIR)/$(NANO_SOURCE):
- $(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE)
+ $(call DOWNLOAD,$(NANO_SITE),$(NANO_SOURCE))
nano-source: $(DL_DIR)/$(NANO_SOURCE)
UEMACS_TARGET_BINARY:=usr/bin/emacs
$(DL_DIR)/$(UEMACS_SOURCE):
- $(WGET) -P $(DL_DIR) $(UEMACS_SITE)/$(UEMACS_SOURCE)
+ $(call DOWNLOAD,$(UEMACS_SITE),$(UEMACS_SOURCE))
uemacs-source: $(DL_DIR)/$(UEMACS_SOURCE)
VIM_CONFIG_MK:=$(VIM_DIR)/src/auto/config.mk
$(DL_DIR)/$(VIM_SOURCE):
- $(WGET) -P $(DL_DIR) $(VIM_SOURCE_SITE)/$(VIM_SOURCE)
+ $(call DOWNLOAD,$(VIM_SOURCE_SITE),$(VIM_SOURCE))
$(DL_DIR)/vim/%:
- $(WGET) -P $(DL_DIR)/vim/ $(VIM_PATCH_SITE)/$*
+ $(call DOWNLOAD,$(VIM_PATCH_SITE),$*)
vim-source: $(DL_DIR)/$(VIM_SOURCE) $(VIM_PATCHES)
EEPROG_TARGET_BINARY:=usr/sbin/eeprog
$(DL_DIR)/$(EEPROG_SOURCE):
- $(WGET) -P $(DL_DIR) $(EEPROG_SITE)/$(EEPROG_SOURCE)
+ $(call DOWNLOAD,$(EEPROG_SITE),$(EEPROG_SOURCE))
eeprog-source: $(DL_DIR)/$(EEPROG_SOURCE)
EXPAT_TARGET_BINARY:=usr/lib/libexpat.so.1
$(DL_DIR)/$(EXPAT_SOURCE):
- $(WGET) -P $(DL_DIR) $(EXPAT_SITE)/$(EXPAT_SOURCE)
+ $(call DOWNLOAD,$(EXPAT_SITE),$(EXPAT_SOURCE))
expat-source: $(DL_DIR)/$(EXPAT_SOURCE)
EZXML_DIR:=$(BUILD_DIR)/ezxml
$(DL_DIR)/$(EZXML_SOURCE):
- $(WGET) -P $(DL_DIR) $(EZXML_SITE)/$(EZXML_SOURCE)
+ $(call DOWNLOAD,$(EZXML_SITE),$(EZXML_SOURCE))
$(EZXML_DIR)/.unpacked: $(DL_DIR)/$(EZXML_SOURCE)
$(ZCAT) $(DL_DIR)/$(EZXML_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
FAKEROOT_DIR2:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)-target
$(DL_DIR)/$(FAKEROOT_SOURCE):
- $(WGET) -P $(DL_DIR) $(FAKEROOT_SITE)/$(FAKEROOT_SOURCE)
+ $(call DOWNLOAD,$(FAKEROOT_SITE),$(FAKEROOT_SOURCE))
fakeroot-source: $(DL_DIR)/$(FAKEROOT_SOURCE)
FBSET_TARGET_BINARY:=usr/sbin/$(FBSET_BINARY)
$(DL_DIR)/$(FBSET_SOURCE):
- $(WGET) -P $(DL_DIR) $(FBSET_SITE)/$(FBSET_SOURCE)
+ $(call DOWNLOAD,$(FBSET_SITE),$(FBSET_SOURCE))
$(FBSET_DIR)/.unpacked: $(DL_DIR)/$(FBSET_SOURCE)
$(FBSET_CAT) $(DL_DIR)/$(FBSET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
FBV_TARGET_BINARY:=usr/bin/$(FBV_BINARY)
$(DL_DIR)/$(FBV_SOURCE):
- $(WGET) -P $(DL_DIR) $(FBV_SITE)/$(FBV_SOURCE)
+ $(call DOWNLOAD,$(FBV_SITE),$(FBV_SOURCE))
fbv-source: $(DL_DIR)/$(FBV_SOURCE)
FCONFIG_TARGET_BINARY:=sbin/fconfig
$(DL_DIR)/$(FCONFIG_SOURCE):
- $(WGET) -P $(DL_DIR) $(FCONFIG_SITE)/$(FCONFIG_SOURCE)
+ $(call DOWNLOAD,$(FCONFIG_SITE),$(FCONFIG_SOURCE))
fconfig-source: $(DL_DIR)/$(FCONFIG_SOURCE)
FILE_TARGET_BINARY:=usr/bin/file
$(DL_DIR)/$(FILE_SOURCE):
- $(WGET) -P $(DL_DIR) $(FILE_SITE)/$(FILE_SOURCE)
+ $(call DOWNLOAD,$(FILE_SITE),$(FILE_SOURCE))
file-source: $(DL_DIR)/$(FILE_SOURCE)
FINDUTILS_TARGET_BINARY:=usr/bin/find
$(DL_DIR)/$(FINDUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(FINDUTILS_SITE)/$(FINDUTILS_SOURCE)
+ $(call DOWNLOAD,$(FINDUTILS_SITE),$(FINDUTILS_SOURCE))
findutils-source: $(DL_DIR)/$(FINDUTILS_SOURCE)
FIS_TARGET_BINARY:=sbin/fis
$(DL_DIR)/$(FIS_SOURCE):
- $(WGET) -P $(DL_DIR) $(FIS_SITE)/$(FIS_SOURCE)
+ $(call DOWNLOAD,$(FIS_SITE),$(FIS_SOURCE))
fis-source: $(DL_DIR)/$(FIS_SOURCE)
FLEX_TARGET_BINARY:=usr/bin/flex
$(DL_DIR)/$(FLEX_SOURCE):
- $(WGET) -P $(DL_DIR) $(FLEX_SITE)/$(FLEX_SOURCE)
+ $(call DOWNLOAD,$(FLEX_SITE),$(FLEX_SOURCE))
$(DL_DIR)/$(FLEX_PATCH):
- $(WGET) -P $(DL_DIR) $(FLEX_SITE)/$(FLEX_PATCH)
+ $(call DOWNLOAD,$(FLEX_SITE),$(FLEX_PATCH))
flex-source: $(DL_DIR)/$(FLEX_SOURCE) $(DL_DIR)/$(FLEX_PATCH)
LIBFUSE_DIR:=$(BUILD_DIR)/fuse-$(LIBFUSE_VERSION)
LIBFUSE_BINARY:=libfuse
$(DL_DIR)/$(LIBFUSE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBFUSE_SITE)/$(LIBFUSE_SOURCE)
+ $(call DOWNLOAD,$(LIBFUSE_SITE),$(LIBFUSE_SOURCE))
$(LIBFUSE_DIR)/.source: $(DL_DIR)/$(LIBFUSE_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBFUSE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(GADGETFS_TEST_SOURCE):
- $(WGET) -P $(DL_DIR) $(GADGETFS_TEST_SITE)/$(GADGETFS_TEST_SOURCE)
+ $(call DOWNLOAD,$(GADGETFS_TEST_SITE),$(GADGETFS_TEST_SOURCE))
$(GADGETFS_TEST_DIR)/.unpacked: $(DL_DIR)/$(GADGETFS_TEST_SOURCE)
$(BZCAT) $(DL_DIR)/$(GADGETFS_TEST_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
DOOM_WAD_DIR=$(BUILD_DIR)/doom-wad-$(DOOM_WAD_VERSION)
$(DL_DIR)/$(DOOM_WAD_SOURCE):
- $(WGET) -P $(DL_DIR) $(DOOM_WAD_SITE)/$(DOOM_WAD_SOURCE)
+ $(call DOWNLOAD,$(DOOM_WAD_SITE),$(DOOM_WAD_SOURCE))
doom-wad-source: $(DL_DIR)/$(DOOM_WAD_SOURCE)
GAWK_TARGET_BINARY:=usr/bin/gawk
$(DL_DIR)/$(GAWK_SOURCE):
- $(WGET) -P $(DL_DIR) $(GAWK_SITE)/$(GAWK_SOURCE)
+ $(call DOWNLOAD,$(GAWK_SITE),$(GAWK_SOURCE))
gawk-source: $(DL_DIR)/$(GAWK_SOURCE)
endif
$(DL_DIR)/$(GETTEXT_SOURCE):
- $(WGET) -P $(DL_DIR) $(GETTEXT_SITE)/$(GETTEXT_SOURCE)
+ $(call DOWNLOAD,$(GETTEXT_SITE),$(GETTEXT_SOURCE))
gettext-source: $(DL_DIR)/$(GETTEXT_SOURCE)
endif
$(DL_DIR)/$(GMP_SOURCE):
- $(WGET) -P $(DL_DIR) $(GMP_SITE)/$(GMP_SOURCE)
+ $(call DOWNLOAD,$(GMP_SITE),$(GMP_SOURCE))
libgmp-source: $(DL_DIR)/$(GMP_SOURCE)
$(DL_DIR)/$(GTK2_ENGINES_SOURCE):
- $(WGET) -P $(DL_DIR) $(GTK2_ENGINES_SITE)/$(GTK2_ENGINES_SOURCE)
+ $(call DOWNLOAD,$(GTK2_ENGINES_SITE),$(GTK2_ENGINES_SOURCE))
gtk2-engines-source: $(DL_DIR)/$(GTK2_ENGINES_SOURCE)
GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
$(DL_DIR)/$(GZIP_SOURCE):
- $(WGET) -P $(DL_DIR) $(GZIP_SITE)/$(GZIP_SOURCE)
+ $(call DOWNLOAD,$(GZIP_SITE),$(GZIP_SOURCE))
gzip-source: $(DL_DIR)/$(GZIP_SOURCE)
DBUS_GLIB_LIBS:=$(STAGING_DIR)/usr/lib/libdbus-glib-1.so
$(DL_DIR)/$(HAL_SOURCE):
- $(WGET) -P $(DL_DIR) $(HAL_SITE)/$(HAL_SOURCE)
+ $(call DOWNLOAD,$(HAL_SITE),$(HAL_SOURCE))
hal-source: $(DL_DIR)/$(HAL_SOURCE)
HDPARM_TARGET_BINARY:=sbin/hdparm
$(DL_DIR)/$(HDPARM_SOURCE):
- $(WGET) -P $(DL_DIR) $(HDPARM_SITE)/$(HDPARM_SOURCE)
+ $(call DOWNLOAD,$(HDPARM_SITE),$(HDPARM_SOURCE))
hdparm-source: $(DL_DIR)/$(HDPARM_SOURCE)
HOSTAP_DIR=$(BUILD_DIR)/hostapd-$(HOSTAP_VERSION)
$(DL_DIR)/$(HOSTAP_SOURCE):
- $(WGET) -P $(DL_DIR) $(HOSTAP_SITE)/$(HOSTAP_SOURCE)
+ $(call DOWNLOAD,$(HOSTAP_SITE),$(HOSTAP_SOURCE))
hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE)
HWDATA_TARGET_BINARY:=usr/share/hwdata/pci.ids
$(DL_DIR)/$(HWDATA_SOURCE):
- $(WGET) -P $(DL_DIR) $(HWDATA_SITE)/$(HWDATA_SOURCE)
+ $(call DOWNLOAD,$(HWDATA_SITE),$(HWDATA_SOURCE))
$(DL_DIR)/$(HWDATA_PATCH):
- $(WGET) -P $(DL_DIR) $(HWDATA_SITE)/$(HWDATA_PATCH)
+ $(call DOWNLOAD,$(HWDATA_SITE),$(HWDATA_PATCH))
hwdata-source: $(DL_DIR)/$(HWDATA_SOURCE) $(DL_DIR)/$(HWDATA_PATCH)
I2C_TOOLS_TARGET_BINARY:=usr/bin/i2cdetect
$(DL_DIR)/$(I2C_TOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(I2C_TOOLS_SITE)/$(I2C_TOOLS_SOURCE)
+ $(call DOWNLOAD,$(I2C_TOOLS_SITE),$(I2C_TOOLS_SOURCE))
$(I2C_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(I2C_TOOLS_SOURCE)
$(BZCAT) $(DL_DIR)/$(I2C_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ICU_HOST_DIR:=$(BUILD_DIR)/icu-host/source
$(DL_DIR)/$(ICU_SOURCE):
- $(WGET) -P $(DL_DIR) $(ICU_SITE)/$(ICU_SOURCE)
+ $(call DOWNLOAD,$(ICU_SITE),$(ICU_SOURCE))
icu-source: $(DL_DIR)/$(ICU_SOURCE)
IMAGEMAGICK_COPY:=cp -df --preserve=mode,ownership
$(DL_DIR)/$(IMAGEMAGICK_SOURCE):
- $(WGET) -P $(DL_DIR) $(IMAGEMAGICK_SITE)/$(IMAGEMAGICK_SOURCE)
+ $(call DOWNLOAD,$(IMAGEMAGICK_SITE),$(IMAGEMAGICK_SOURCE))
$(IMAGEMAGICK_DIR)/.unpacked: $(DL_DIR)/$(IMAGEMAGICK_SOURCE)
$(IMAGEMAGICK_CAT) $(DL_DIR)/$(IMAGEMAGICK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(addsuffix .c, $(INPUT_TOOLS_TARGETS-y)))
$(DL_DIR)/$(INPUT_TOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(INPUT_TOOLS_SITE)/$(@F)
+ $(call DOWNLOAD,$(INPUT_TOOLS_SITE),$(@F))
$(DL_DIR)/$(INPUT_TOOLS_PATCH):
- $(WGET) -P $(DL_DIR) $(INPUT_TOOLS_SITE)/$(@F)
+ $(call DOWNLOAD,$(INPUT_TOOLS_SITE),$(@F))
$(INPUT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(INPUT_TOOLS_SOURCE) $(DL_DIR)/$(INPUT_TOOLS_PATCH)
$(INPUT_TOOLS_CAT) $(DL_DIR)/$(INPUT_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
IOSTAT_TARGET_BINARY:=usr/bin/iostat
$(DL_DIR)/$(IOSTAT_SOURCE):
- $(WGET) -P $(DL_DIR) $(IOSTAT_SITE)/$(IOSTAT_SOURCE)
+ $(call DOWNLOAD,$(IOSTAT_SITE),$(IOSTAT_SOURCE))
iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
IPROUTE2_TARGET_BINARY:=sbin/tc
$(DL_DIR)/$(IPROUTE2_SOURCE):
- $(WGET) -P $(DL_DIR) $(IPROUTE2_SITE)$(IPROUTE2_SOURCE)
+ $(call DOWNLOAD,$(IPROUTE2_SITE)$(IPROUTE2_SOURCE))
iproute2-source: $(DL_DIR)/$(IPROUTE2_SOURCE)
endif
$(DL_DIR)/$(IPSEC_TOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(IPSEC_TOOLS_SITE)/$(IPSEC_TOOLS_SOURCE)
+ $(call DOWNLOAD,$(IPSEC_TOOLS_SITE),$(IPSEC_TOOLS_SOURCE))
$(IPSEC_TOOLS_DIR)/.patched: $(DL_DIR)/$(IPSEC_TOOLS_SOURCE)
$(IPSEC_TOOLS_CAT) $(DL_DIR)/$(IPSEC_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(DL_DIR)/concierge:
mkdir -p $(DL_DIR)/concierge/
- $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE)/concierge-$(CONCIERGE_VERSION).jar
- $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar
- $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar
- $(WGET) -P $(DL_DIR)/concierge/ $(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar
+ $(call DOWNLOAD,$(CONCIERGE_SITE),concierge-$(CONCIERGE_VERSION).jar)
+ $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)shell-1.0.0.RC2.jar)
+ $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)service-tracker-1.0.0.RC2.jar)
+ $(call DOWNLOAD,$(CONCIERGE_SITE_BUNDLES)event-admin-1.0.0.RC2.jar)
$(TARGET_DIR)/usr/lib/concierge/: $(DL_DIR)/concierge
mkdir -p $(TARGET_DIR)/usr/lib
JPEG_CAT:=$(ZCAT)
$(DL_DIR)/$(JPEG_SOURCE):
- $(WGET) -P $(DL_DIR) $(JPEG_SITE)/$(JPEG_SOURCE)
+ $(call DOWNLOAD,$(JPEG_SITE),$(JPEG_SOURCE))
jpeg-source: $(DL_DIR)/$(JPEG_SOURCE)
endif
$(DL_DIR)/$(KEXEC_SOURCE):
- $(WGET) -P $(DL_DIR) $(KEXEC_SITE)/$(KEXEC_SOURCE)
+ $(call DOWNLOAD,$(KEXEC_SITE),$(KEXEC_SOURCE))
$(DL_DIR)/$(KEXEC_PATCH):
- $(WGET) -P $(DL_DIR) $(KEXEC_SITE)/$(KEXEC_PATCH)
+ $(call DOWNLOAD,$(KEXEC_SITE),$(KEXEC_PATCH))
kexec-source: $(DL_DIR)/$(KEXEC_SOURCE) $(DL_DIR)/$(KEXEC_PATCH)
KISMET_TARGET_DIRECTORY=usr/bin/
$(DL_DIR)/$(KISMET_SOURCE):
- $(WGET) -P $(DL_DIR) $(KISMET_SITE)/$(KISMET_SOURCE)
+ $(call DOWNLOAD,$(KISMET_SITE),$(KISMET_SOURCE))
kismet-source: $(DL_DIR)/$(KISMET_SOURCE)
L2TP_TARGET_BINARY:=usr/sbin/l2tpd
$(DL_DIR)/$(L2TP_SOURCE):
- $(WGET) -P $(DL_DIR) $(L2TP_SITE)/$(L2TP_SOURCE)
+ $(call DOWNLOAD,$(L2TP_SITE),$(L2TP_SOURCE))
$(DL_DIR)/$(L2TP_PATCH):
- $(WGET) -P $(DL_DIR) $(L2TP_SITE)/$(L2TP_PATCH)
+ $(call DOWNLOAD,$(L2TP_SITE),$(L2TP_PATCH))
l2tp-source: $(DL_DIR)/$(L2TP_SOURCE) $(DL_DIR)/$(L2TP_PATCH)
LESS_TARGET_BINARY:=usr/bin/less
$(DL_DIR)/$(LESS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LESS_SITE)/$(LESS_SOURCE)
+ $(call DOWNLOAD,$(LESS_SITE),$(LESS_SOURCE))
$(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE)
$(ZCAT) $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBAIO_MAKEOPTS:= $(TARGET_CONFIGURE_OPTS) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -nostdlib -nostartfiles -I. -fPIC" LDFLAGS="$(TARGET_LDFLAGS)"
$(DL_DIR)/$(LIBAIO_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBAIO_SITE)/$(LIBAIO_SOURCE)
+ $(call DOWNLOAD,$(LIBAIO_SITE),$(LIBAIO_SOURCE))
$(LIBAIO_DIR)/.unpacked: $(DL_DIR)/$(LIBAIO_SOURCE)
$(BZCAT) $(DL_DIR)/$(LIBAIO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBCGI_TARGET_LIBRARY=$(LIBCGI_DESTDIR)/libcgi.so
$(DL_DIR)/$(LIBCGI_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBCGI_SITE)/$(LIBCGI_SOURCE)
+ $(call DOWNLOAD,$(LIBCGI_SITE),$(LIBCGI_SOURCE))
$(LIBCGI_DIR)/.source: $(DL_DIR)/$(LIBCGI_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBCGI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBCGICC_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBCGICC_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBCGICC_SITE)/$(LIBCGICC_SOURCE)
+ $(call DOWNLOAD,$(LIBCGICC_SITE),$(LIBCGICC_SOURCE))
libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE)
LIBDRM_DIR:=$(BUILD_DIR)/libdrm-$(LIBDRM_VERSION)
$(DL_DIR)/$(LIBDRM_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBDRM_SITE)/$(LIBDRM_SOURCE)
+ $(call DOWNLOAD,$(LIBDRM_SITE),$(LIBDRM_SOURCE))
libdrm-source: $(DL_DIR)/$(LIBDRM_SOURCE)
LIBEXOSIP2_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBEXOSIP2_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBEXOSIP2_SITE)/$(LIBEXOSIP2_SOURCE)
+ $(call DOWNLOAD,$(LIBEXOSIP2_SITE),$(LIBEXOSIP2_SOURCE))
$(LIBEXOSIP2_DIR)/.unpacked: $(DL_DIR)/$(LIBEXOSIP2_SOURCE)
$(LIBEXOSIP2_CAT) $(DL_DIR)/$(LIBEXOSIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(LIBELF_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBELF_SITE)/$(LIBELF_SOURCE)
+ $(call DOWNLOAD,$(LIBELF_SITE),$(LIBELF_SOURCE))
$(LIBELF_DIR)/.unpacked: $(DL_DIR)/$(LIBELF_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBELF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBERATION_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBERATION_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBERATION_SITE)/$(LIBERATION_SOURCE)
+ $(call DOWNLOAD,$(LIBERATION_SITE),$(LIBERATION_SOURCE))
liberation-source: $(DL_DIR)/$(LIBERATION_SOURCE)
LIBEVENT_TARGET_BINARY:=usr/lib/libevent.so
$(DL_DIR)/$(LIBEVENT_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBEVENT_SITE)/$(LIBEVENT_SOURCE)
+ $(call DOWNLOAD,$(LIBEVENT_SITE),$(LIBEVENT_SOURCE))
libevent-source: $(DL_DIR)/$(LIBEVENT_SOURCE)
endif
$(DL_DIR)/$(LIBFLOAT_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBFLOAT_SITE)/$(LIBFLOAT_SOURCE)
+ $(call DOWNLOAD,$(LIBFLOAT_SITE),$(LIBFLOAT_SOURCE))
$(DL_DIR)/$(LIBFLOAT_PATCH):
- $(WGET) -P $(DL_DIR) $(LIBFLOAT_SITE)/$(LIBFLOAT_PATCH)
+ $(call DOWNLOAD,$(LIBFLOAT_SITE),$(LIBFLOAT_PATCH))
libfloat-source: $(DL_DIR)/$(LIBFLOAT_SOURCE) $(DL_DIR)/$(LIBFLOAT_PATCH)
LIBGCRYPT_TARGET_LIBRARY=$(LIBGCRYPT_DESTDIR)/libgcrypt.so
$(DL_DIR)/$(LIBGCRYPT_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBGCRYPT_SITE)/$(LIBGCRYPT_SOURCE)
+ $(call DOWNLOAD,$(LIBGCRYPT_SITE),$(LIBGCRYPT_SOURCE))
$(LIBGCRYPT_DIR)/.source: $(DL_DIR)/$(LIBGCRYPT_SOURCE)
$(BZCAT) $(DL_DIR)/$(LIBGCRYPT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBGLIB12_BINARY:=libglib.a
$(DL_DIR)/$(LIBGLIB12_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
+ $(call DOWNLOAD,$(LIBGLIB12_SITE),$(LIBGLIB12_SOURCE))
$(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
$(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBGPG_ERROR_TARGET_LIBRARY=$(LIBGPG_ERROR_DESTDIR)/libgpg-error.so
$(DL_DIR)/$(LIBGPG_ERROR_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBGPG_ERROR_SITE)/$(LIBGPG_ERROR_SOURCE)
+ $(call DOWNLOAD,$(LIBGPG_ERROR_SITE),$(LIBGPG_ERROR_SOURCE))
$(LIBGPG_ERROR_DIR)/.source: $(DL_DIR)/$(LIBGPG_ERROR_SOURCE)
$(BZCAT) $(DL_DIR)/$(LIBGPG_ERROR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(DL_DIR)/$(LIBGTK12_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBGTK12_SITE)/$(LIBGTK12_SOURCE)
+ $(call DOWNLOAD,$(LIBGTK12_SITE),$(LIBGTK12_SOURCE))
libgtk12-source: $(DL_DIR)/$(LIBGTK12_SOURCE)
LIBLOCKFILE_BINARY:=liblockfile.so.1.0
$(DL_DIR)/$(LIBLOCKFILE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBLOCKFILE_SITE)/$(LIBLOCKFILE_SOURCE)
+ $(call DOWNLOAD,$(LIBLOCKFILE_SITE),$(LIBLOCKFILE_SOURCE))
liblockfile-source: $(DL_DIR)/$(LIBLOCKFILE_SOURCE)
LIBOSIP2_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBOSIP2_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBOSIP2_SITE)/$(LIBOSIP2_SOURCE)
+ $(call DOWNLOAD,$(LIBOSIP2_SITE),$(LIBOSIP2_SOURCE))
$(LIBOSIP2_DIR)/.unpacked: $(DL_DIR)/$(LIBOSIP2_SOURCE)
$(LIBOSIP2_CAT) $(DL_DIR)/$(LIBOSIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBPCAP_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBPCAP_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBPCAP_SITE)/$(LIBPCAP_SOURCE)
+ $(call DOWNLOAD,$(LIBPCAP_SITE),$(LIBPCAP_SOURCE))
libpcap-source: $(DL_DIR)/$(LIBPCAP_SOURCE)
LIBRAW1394_DIR:=$(BUILD_DIR)/libraw1394-$(LIBRAW1394_VERSION)
$(DL_DIR)/$(LIBRAW1394_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBRAW1394_SITE)/$(LIBRAW1394_SOURCE)
+ $(call DOWNLOAD,$(LIBRAW1394_SITE),$(LIBRAW1394_SOURCE))
$(LIBRAW1394_DIR)/.unpacked: $(DL_DIR)/$(LIBRAW1394_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBRAW1394_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBSYSFS_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBSYSFS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBSYSFS_SITE)/$(LIBSYSFS_SOURCE)
+ $(call DOWNLOAD,$(LIBSYSFS_SITE),$(LIBSYSFS_SOURCE))
libsysfs-source: $(DL_DIR)/$(LIBSYSFS_SOURCE)
LIBTOOL:=$(STAGING_DIR)/usr/bin/libtool
$(DL_DIR)/$(LIBTOOL_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBTOOL_SITE)/$(LIBTOOL_SOURCE)
+ $(call DOWNLOAD,$(LIBTOOL_SITE),$(LIBTOOL_SOURCE))
libtool-source: $(DL_DIR)/$(LIBTOOL_SOURCE)
LIBUNGIF_TARGET_BINARY:=usr/lib/libungif.so
$(DL_DIR)/$(LIBUNGIF_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBUNGIF_SITE)/$(LIBUNGIF_SOURCE)
+ $(call DOWNLOAD,$(LIBUNGIF_SITE),$(LIBUNGIF_SOURCE))
libungif-source: $(DL_DIR)/$(LIBUNGIF_SOURCE)
ifneq ($(LIBUSB_PATCH_FILE),)
LIBUSB_PATCH=$(DL_DIR)/$(LIBUSB_PATCH_FILE)
$(LIBUSB_PATCH):
- $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_PATCH_FILE)
+ $(call DOWNLOAD,$(LIBUSB_SITE),$(LIBUSB_PATCH_FILE))
endif
$(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
- $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE)
+ $(call DOWNLOAD,$(LIBUSB_SITE),$(LIBUSB_SOURCE))
touch -c $@
libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
LINKS_DIR:=$(BUILD_DIR)/links-$(LINKS_VERSION)
$(DL_DIR)/$(LINKS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LINKS_SITE)/$(LINKS_SOURCE)
+ $(call DOWNLOAD,$(LINKS_SITE),$(LINKS_SOURCE))
links-source: $(DL_DIR)/$(LINKS_SOURCE)
#LINUX_FUSION_MAKE_OPTS += __KERNEL__=$(LINUX26_VERSION)
$(DL_DIR)/$(LINUX_FUSION_SOURCE):
- $(WGET) -P $(DL_DIR) $(LINUX_FUSION_SITE)/$(LINUX_FUSION_SOURCE)
+ $(call DOWNLOAD,$(LINUX_FUSION_SITE),$(LINUX_FUSION_SOURCE))
$(LINUX_FUSION_DIR)/.unpacked: $(DL_DIR)/$(LINUX_FUSION_SOURCE)
$(LINUX_FUSION_CAT) $(DL_DIR)/$(LINUX_FUSION_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LM_SENSORS_TARGET_BINARY:=usr/bin/sensors
$(DL_DIR)/$(LM_SENSORS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LM_SENSORS_SITE)/$(LM_SENSORS_SOURCE)
+ $(call DOWNLOAD,$(LM_SENSORS_SITE),$(LM_SENSORS_SOURCE))
$(LM_SENSORS_DIR)/.unpacked: $(DL_DIR)/$(LM_SENSORS_SOURCE)
$(LM_SENSORS_CAT) $(DL_DIR)/$(LM_SENSORS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LOCKFILE_PROGS_BINARY:=usr/bin/lockfile-create
$(DL_DIR)/$(LOCKFILE_PROGS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LOCKFILE_PROGS_SITE)/$(LOCKFILE_PROGS_SOURCE)
+ $(call DOWNLOAD,$(LOCKFILE_PROGS_SITE),$(LOCKFILE_PROGS_SOURCE))
lockfile-progs-source: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE)
LOGROTATE_TARGET_BINARY:=usr/sbin/$(LOGROTATE_BINARY)
$(DL_DIR)/$(LOGROTATE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LOGROTATE_SITE)/$(LOGROTATE_SOURCE)
+ $(call DOWNLOAD,$(LOGROTATE_SITE),$(LOGROTATE_SOURCE))
$(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE)
$(ZCAT) $(DL_DIR)/$(LOGROTATE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LRZSZ_DIR:=$(BUILD_DIR)/lrzsz-$(LRZSZ_VERSION)
$(DL_DIR)/$(LRZSZ_SOURCE):
- $(WGET) -P $(DL_DIR) $(LRZSZ_SITE)/$(LRZSZ_SOURCE)
+ $(call DOWNLOAD,$(LRZSZ_SITE),$(LRZSZ_SOURCE))
lrzsz-source: $(DL_DIR)/$(LRZSZ_SOURCE)
endif
$(DL_DIR)/$(LSOF_SOURCE):
- $(WGET) -P $(DL_DIR) $(LSOF_SITE)/$(LSOF_SOURCE)
+ $(call DOWNLOAD,$(LSOF_SITE),$(LSOF_SOURCE))
lsof-source: $(DL_DIR)/$(LSOF_SOURCE)
endif
$(DL_DIR)/$(LTP_TESTSUITE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LTP_TESTSUITE_SITE)/$(LTP_TESTSUITE_SOURCE)
+ $(call DOWNLOAD,$(LTP_TESTSUITE_SITE),$(LTP_TESTSUITE_SOURCE))
ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
endif
$(DL_DIR)/$(LTRACE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE)
+ $(call DOWNLOAD,$(LTRACE_SITE),$(LTRACE_SOURCE))
ifneq ($(LTRACE_PATCH),)
LTRACE_PATCH_FILE:=$(DL_DIR)/$(LTRACE_PATCH)
$(LTRACE_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_PATCH)
+ $(call DOWNLOAD,$(LTRACE_SITE),$(LTRACE_PATCH))
else
LTRACE_PATCH_FILE:=
LTT_TARGET_BINARY:=Daemon/tracedaemon
$(DL_DIR)/$(LTT_SOURCE):
- $(WGET) -P $(DL_DIR) $(LTT_SITE)/$(LTT_SOURCE)
+ $(call DOWNLOAD,$(LTT_SITE),$(LTT_SOURCE))
ltt-source: $(DL_DIR)/$(LTT_SOURCE)
LUA_MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
$(DL_DIR)/$(LUA_SOURCE):
- $(WGET) -P $(DL_DIR) $(LUA_SITE)/$(LUA_SOURCE)
+ $(call DOWNLOAD,$(LUA_SITE),$(LUA_SOURCE))
$(LUA_DIR)/.unpacked: $(DL_DIR)/$(LUA_SOURCE)
$(LUA_CAT) $(DL_DIR)/$(LUA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LVM2_TARGET_SBINS=$(foreach lvm2sbin, $(LVM2_SBIN), $(TARGET_DIR)/sbin/$(lvm2sbin))
$(DL_DIR)/$(LVM2_SOURCE):
- $(WGET) -P $(DL_DIR) $(LVM2_SITE)/$(LVM2_SOURCE)
+ $(call DOWNLOAD,$(LVM2_SITE),$(LVM2_SOURCE))
lvm2-source: $(DL_DIR)/$(LVM2_SOURCE)
$(DL_DIR)/$(LZMA_SOURCE):
- $(WGET) -P $(DL_DIR) $(LZMA_SITE)/$(LZMA_SOURCE)
+ $(call DOWNLOAD,$(LZMA_SITE),$(LZMA_SOURCE))
######################################################################
#
endif
$(DL_DIR)/$(M4_SOURCE):
- $(WGET) -P $(DL_DIR) $(M4_SITE)/$(M4_SOURCE)
+ $(call DOWNLOAD,$(M4_SITE),$(M4_SOURCE))
m4-source: $(DL_DIR)/$(M4_SOURCE)
GNUMAKE_TARGET_BINARY:=usr/bin/make
$(DL_DIR)/$(GNUMAKE_SOURCE):
- $(WGET) -P $(DL_DIR) $(GNUMAKE_SITE)/$(GNUMAKE_SOURCE)
+ $(call DOWNLOAD,$(GNUMAKE_SITE),$(GNUMAKE_SOURCE))
make-source: $(DL_DIR)/$(GNUMAKE_SOURCE)
#############################################################
$(DL_DIR)/$(MATCHBOX_LIB_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/libmatchbox/$(MATCHBOX_LIB_VERSION)/$(MATCHBOX_LIB_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/libmatchbox/$(MATCHBOX_LIB_VERSION),$(MATCHBOX_LIB_SOURCE))
$(DL_DIR)/$(MATCHBOX_SNOTIFY_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SNOTIFY_SITE)/$(MATCHBOX_SNOTIFY_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SNOTIFY_SITE),$(MATCHBOX_SNOTIFY_SOURCE))
$(DL_DIR)/$(MATCHBOX_WM_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_WM_BIN)/$(MATCHBOX_WM_MAJORVER)/$(MATCHBOX_WM_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_WM_BIN)/$(MATCHBOX_WM_MAJORVER),$(MATCHBOX_WM_SOURCE))
$(DL_DIR)/$(MATCHBOX_SM_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER)/$(MATCHBOX_SM_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER),$(MATCHBOX_SM_SOURCE))
#$(DL_DIR)/$(MATCHBOX_DM_SOURCE):
-# $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER)/$(MATCHBOX_SM_SOURCE)
+# $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER),$(MATCHBOX_SM_SOURCE))
$(DL_DIR)/$(MATCHBOX_CN_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_CN_BIN)/$(MATCHBOX_CN_MAJORVER)/$(MATCHBOX_CN_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_CN_BIN)/$(MATCHBOX_CN_MAJORVER),$(MATCHBOX_CN_SOURCE))
$(DL_DIR)/$(MATCHBOX_PL_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_PL_BIN)/$(MATCHBOX_PL_MAJORVER)/$(MATCHBOX_PL_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_PL_BIN)/$(MATCHBOX_PL_MAJORVER),$(MATCHBOX_PL_SOURCE))
$(DL_DIR)/$(MATCHBOX_DP_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_DP_BIN)/$(MATCHBOX_DP_MAJORVER)/$(MATCHBOX_DP_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_DP_BIN)/$(MATCHBOX_DP_MAJORVER),$(MATCHBOX_DP_SOURCE))
$(DL_DIR)/$(MATCHBOX_FK_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_FK_BIN)/$(MATCHBOX_FK_MAJORVER)/$(MATCHBOX_FK_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_FK_BIN)/$(MATCHBOX_FK_MAJORVER),$(MATCHBOX_FK_SOURCE))
$(DL_DIR)/$(MATCHBOX_KB_SOURCE):
- $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_KB_BIN)/$(MATCHBOX_KB_MAJORVER)/$(MATCHBOX_KB_SOURCE)
+ $(call DOWNLOAD,$(MATCHBOX_SITE)/$(MATCHBOX_KB_BIN)/$(MATCHBOX_KB_MAJORVER),$(MATCHBOX_KB_SOURCE))
matchbox-source: $(DL_DIR)/$(MATCHBOX_LIB_SOURCE) $(DL_DIR)/$(MATCHBOX_WM_SOURCE)
ifneq ($(MDADM_PATCH),)
MDADM_PATCH_FILE:=$(DL_DIR)/$(MDADM_PATCH)
$(MDADM_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_PATCH)
+ $(call DOWNLOAD,$(MDADM_SITE),$(MDADM_PATCH))
endif
$(DL_DIR)/$(MDADM_SOURCE): $(MDADM_PATCH_FILE)
- $(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
+ $(call DOWNLOAD,$(MDADM_SITE),$(MDADM_SOURCE))
touch -c $@
$(MDADM_DIR)/.unpacked: $(DL_DIR)/$(MDADM_SOURCE)
endif
$(DL_DIR)/$(MDNSRESPONDER_SOURCE):
- $(WGET) -P $(DL_DIR) $(MDNSRESPONDER_SITE)
+ $(call DOWNLOAD,$(MDNSRESPONDER_SITE))
$(MDNSRESPONDER_DIR)/.unpacked: $(DL_DIR)/$(MDNSRESPONDER_SOURCE)
$(MDNSRESPONDER_CAT) $(DL_DIR)/$(MDNSRESPONDER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
MEMSTAT_DIR:=$(BUILD_DIR)/memstat-$(MEMSTAT_VERSION)
$(DL_DIR)/$(MEMSTAT_SOURCE):
- $(WGET) -P $(DL_DIR) $(MEMSTAT_SITE)/$(MEMSTAT_SOURCE)
+ $(call DOWNLOAD,$(MEMSTAT_SITE),$(MEMSTAT_SOURCE))
$(MEMSTAT_DIR)/.unpacked: $(DL_DIR)/$(MEMSTAT_SOURCE)
$(ZCAT) $(DL_DIR)/$(MEMSTAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
MEMTESTER_TARGET_BINARY:=usr/bin/memtester
$(DL_DIR)/$(MEMTESTER_SOURCE):
- $(WGET) -P $(DL_DIR) $(MEMTESTER_SITE)/$(MEMTESTER_SOURCE)
+ $(call DOWNLOAD,$(MEMTESTER_SITE),$(MEMTESTER_SOURCE))
memtester-source: $(DL_DIR)/$(MEMTESTER_SOURCE)
METACITY_SITE2:=http://art.gnome.org/download/themes/metacity/1190
$(DL_DIR)/$(METACITY_SOURCE):
- $(WGET) -P $(DL_DIR) $(METACITY_SITE)/$(METACITY_SOURCE)
+ $(call DOWNLOAD,$(METACITY_SITE),$(METACITY_SOURCE))
$(DL_DIR)/$(METACITY_SOURCE2):
- $(WGET) -P $(DL_DIR) $(METACITY_SITE2)/$(METACITY_SOURCE2)
+ $(call DOWNLOAD,$(METACITY_SITE2),$(METACITY_SOURCE2))
metacity-source: $(DL_DIR)/$(METACITY_SOURCE) $(DL_DIR)/$(METACITY_SOURCE2)
MICROCOM_DIR:=$(BUILD_DIR)/microcom-$(MICROCOM_VERSION)
$(DL_DIR)/$(MICROCOM_SOURCE):
- $(WGET) -P $(DL_DIR) $(MICROCOM_SITE)/$(MICROCOM_SOURCE)
+ $(call DOWNLOAD,$(MICROCOM_SITE),$(MICROCOM_SOURCE))
microcom-source: $(DL_DIR)/$(MICROCOM_SOURCE)
DynaLoader.pm AutoLoader.pm Carp/Heavy.pm
endif
$(DL_DIR)/$(MICROPERL_SOURCE):
- $(WGET) -P $(DL_DIR) $(MICROPERL_SITE)/$(MICROPERL_SOURCE)
+ $(call DOWNLOAD,$(MICROPERL_SITE),$(MICROPERL_SOURCE))
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
$(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
MICROWIN_CONFIG:=$(MICROWIN_DIR)/src/Configs/config.uclibc
$(DL_DIR)/$(MICROWIN_SOURCE):
- $(WGET) -P $(DL_DIR) $(MICROWIN_SITE)/$(MICROWIN_SOURCE)
+ $(call DOWNLOAD,$(MICROWIN_SITE),$(MICROWIN_SOURCE))
microwin-source: $(DL_DIR)/$(MICROWIN_SOURCE)
ifneq ($(MIIDIAG_PATCH_FILE),)
MIIDIAG_PATCH=$(DL_DIR)/$(MIIDIAG_PATCH_FILE)
$(MIIDIAG_PATCH):
- $(WGET) -P $(DL_DIR) $(MIIDIAG_SITE)/$(MIIDIAG_PATCH_FILE)
+ $(call DOWNLOAD,$(MIIDIAG_SITE),$(MIIDIAG_PATCH_FILE))
endif
$(DL_DIR)/$(MIIDIAG_SOURCE):
- $(WGET) -P $(DL_DIR) $(MIIDIAG_SITE)/$(MIIDIAG_SOURCE)
+ $(call DOWNLOAD,$(MIIDIAG_SITE),$(MIIDIAG_SOURCE))
$(MIIDIAG_DIR)/.unpacked: $(DL_DIR)/$(MIIDIAG_SOURCE) $(MIIDIAG_PATCH)
mkdir -p $(MIIDIAG_DIR)
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
$(DL_DIR)/$(MKDOSFS_SOURCE):
- $(WGET) -P $(DL_DIR) $(MKDOSFS_SITE)/$(MKDOSFS_SOURCE)
+ $(call DOWNLOAD,$(MKDOSFS_SITE),$(MKDOSFS_SOURCE))
mkdosfs-source: $(DL_DIR)/$(MKDOSFS_SOURCE)
STRIPPROG=$(STRIPCMD)
$(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(MODULE_INIT_TOOLS_SITE)/$(MODULE_INIT_TOOLS_SOURCE)
+ $(call DOWNLOAD,$(MODULE_INIT_TOOLS_SITE),$(MODULE_INIT_TOOLS_SOURCE))
$(MODULE_INIT_TOOLS_DIR)/.unpacked: $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE)
$(MODULE_INIT_TOOLS_CAT) $(DL_DIR)/$(MODULE_INIT_TOOLS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
STRIPPROG=$(STRIPCMD)
$(DL_DIR)/$(MODUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(MODUTILS_SITE)/$(MODUTILS_SOURCE)
+ $(call DOWNLOAD,$(MODUTILS_SITE),$(MODUTILS_SOURCE))
#############################################################
#
endif
$(DL_DIR)/$(MPATROL_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPATROL_SITE)/$(MPATROL_SOURCE)
+ $(call DOWNLOAD,$(MPATROL_SITE),$(MPATROL_SOURCE))
mpatrol-source: $(DL_DIR)/$(MPATROL_SOURCE)
MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE)
$(MPFR_PATCH_SOURCE):
- $(WGET) -O $@ $(MPFR_SITE)/$(MPFR_PATCH)
+ $(WGET) -O $@ $(MPFR_SITE),$(MPFR_PATCH)
endif
$(DL_DIR)/$(MPFR_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPFR_SITE)/$(MPFR_SOURCE)
+ $(call DOWNLOAD,$(MPFR_SITE),$(MPFR_SOURCE))
$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(MPFR_PATCH_SOURCE)
$(MPFR_CAT) $(DL_DIR)/$(MPFR_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
MROUTED_TARGET_BINARY:=usr/sbin/mrouted
$(DL_DIR)/$(MROUTED_SOURCE):
- $(WGET) -P $(DL_DIR) $(MROUTED_SITE)/$(MROUTED_SOURCE)
+ $(call DOWNLOAD,$(MROUTED_SITE),$(MROUTED_SOURCE))
$(DL_DIR)/$(MROUTED_PATCH):
- $(WGET) -P $(DL_DIR) $(MROUTED_SITE)/$(MROUTED_PATCH)
+ $(call DOWNLOAD,$(MROUTED_SITE),$(MROUTED_PATCH))
$(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
$(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(MTD_SOURCE),)
$(DL_DIR)/$(MTD_SOURCE):
- $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE)
+ $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE))
endif
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
SUMTOOL := $(MTD_HOST_DIR)/sumtool
$(DL_DIR)/$(MTD_SOURCE):
- $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE)
+ $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE))
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
SUMTOOL := $(MTD_HOST_DIR)/sumtool
$(DL_DIR)/$(MTD_SOURCE):
- $(WGET) -O $(DL_DIR)/$(MTD_SOURCE) "$(MTD_URL)"
+ $(call DOWNLOAD,"$(MTD_URL)")
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
SUMTOOL := $(MTD_HOST_DIR)/sumtool
$(DL_DIR)/$(MTD_SOURCE):
- $(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE)
+ $(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE))
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(ALSA_LIB_SOURCE):
- $(WGET) -P $(DL_DIR) $(ALSA_LIB_SITE)/$(ALSA_LIB_SOURCE)
+ $(call DOWNLOAD,$(ALSA_LIB_SITE),$(ALSA_LIB_SOURCE))
$(ALSA_LIB_DIR)/.unpacked: $(DL_DIR)/$(ALSA_LIB_SOURCE)
$(ALSA_LIB_CAT) $(DL_DIR)/$(ALSA_LIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ALSA_UTILS_TARGET_BINARY:=usr/sbin/alsactl
$(DL_DIR)/$(ALSA_UTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(ALSA_UTILS_SITE)/$(ALSA_UTILS_SOURCE)
+ $(call DOWNLOAD,$(ALSA_UTILS_SITE),$(ALSA_UTILS_SOURCE))
$(ALSA_UTILS_DIR)/.unpacked: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
$(ALSA_UTILS_CAT) $(DL_DIR)/$(ALSA_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ASTERISK_TARGET_BINARY:=usr/sbin/asterisk
$(DL_DIR)/$(ASTERISK_SOURCE):
- $(WGET) -P $(DL_DIR) $(ASTERISK_SITE)/$(ASTERISK_SOURCE)
+ $(call DOWNLOAD,$(ASTERISK_SITE),$(ASTERISK_SOURCE))
$(ASTERISK_DIR)/.source: $(DL_DIR)/$(ASTERISK_SOURCE)
$(ZCAT) $(DL_DIR)/$(ASTERISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
AUMIX_CAT:=$(BZCAT)
$(DL_DIR)/$(AUMIX_SOURCE):
- $(WGET) -P $(DL_DIR) $(AUMIX_SITE)/$(AUMIX_SOURCE)
+ $(call DOWNLOAD,$(AUMIX_SITE),$(AUMIX_SOURCE))
$(AUMIX_DIR)/.unpacked: $(DL_DIR)/$(AUMIX_SOURCE)
$(AUMIX_CAT) $(DL_DIR)/$(AUMIX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(FESTLEX_STATUS_DIR)/.downloaded:
mkdir -p $(FESTLEX_STATUS_DIR)
ifeq ($(BR2_PACKAGE_FESTLEX_CMU),y)
- $(Q)test -e $(DL_DIR)/$(LEX1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX1)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX1))
endif
ifeq ($(BR2_PACKAGE_FESTLEX_OALD),y)
- $(Q)test -e $(DL_DIR)/$(LEX2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX2)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX2))
endif
ifeq ($(BR2_PACKAGE_FESTLEX_POS),y)
- $(Q)test -e $(DL_DIR)/$(LEX3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX3)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(LEX3))
endif
touch $@
$(FESTVOX_STATUS_DIR)/.downloaded:
mkdir -p $(FESTVOX_STATUS_DIR)
ifeq ($(BR2_PACKAGE_FESTVOX_AWB),y)
- $(Q)test -e $(DL_DIR)/$(VOICE1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE1)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE1))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_BDL),y)
- $(Q)test -e $(DL_DIR)/$(VOICE2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE2)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE2))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_JMK),y)
- $(Q)test -e $(DL_DIR)/$(VOICE3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE3)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE3))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_SLT),y)
- $(Q)test -e $(DL_DIR)/$(VOICE4) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE4)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE4))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_AWB_MULTISYN),y)
- $(Q)test -e $(DL_DIR)/$(VOICE5) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE5)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE5))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_JMK_MULTISYN),y)
- $(Q)test -e $(DL_DIR)/$(VOICE6) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE6)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE6))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_KAL_SIXTEENK),y)
- $(Q)test -e $(DL_DIR)/$(VOICE7) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE7)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE7))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_KED_EIGHTK),y)
- $(Q)test -e $(DL_DIR)/$(VOICE8) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE8)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE8))
endif
ifeq ($(BR2_PACKAGE_FESTVOX_KED_SIXTEENK),y)
- $(Q)test -e $(DL_DIR)/$(VOICE9) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE9)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(VOICE9))
endif
- $(Q)test -e $(DL_DIR)/$(FRONTEND1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND1)
- $(Q)test -e $(DL_DIR)/$(FRONTEND2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND2)
- $(Q)test -e $(DL_DIR)/$(FRONTEND3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND3)
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND1))
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND2))
+ $(call DOWNLOAD,$(FESTIVAL_SITE),$(FRONTEND3))
touch $@
LIBID3TAG_TARGET_BIN:=usr/lib/$(LIBID3TAG_BIN)
$(DL_DIR)/$(LIBID3TAG_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBID3TAG_SITE)/$(LIBID3TAG_SOURCE)
+ $(call DOWNLOAD,$(LIBID3TAG_SITE),$(LIBID3TAG_SOURCE))
$(LIBID3TAG_DIR)/.unpacked: $(DL_DIR)/$(LIBID3TAG_SOURCE)
$(LIBID3TAG_CAT) $(DL_DIR)/$(LIBID3TAG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBMAD_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBMAD_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBMAD_SITE)/$(LIBMAD_SOURCE)
+ $(call DOWNLOAD,$(LIBMAD_SITE),$(LIBMAD_SOURCE))
$(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE)
$(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBSNDFILE_TARGET_BINARY:=usr/lib/libsndfile.so
$(DL_DIR)/$(LIBSNDFILE_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBSNDFILE_SITE)/$(LIBSNDFILE_SOURCE)
+ $(call DOWNLOAD,$(LIBSNDFILE_SITE),$(LIBSNDFILE_SOURCE))
$(LIBSNDFILE_DIR)/.unpacked: $(DL_DIR)/$(LIBSNDFILE_SOURCE)
$(ZCAT) $(DL_DIR)/$(LIBSNDFILE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
LIBVORBIS_CAT:=$(ZCAT)
$(DL_DIR)/$(LIBVORBIS_SOURCE):
- $(WGET) -P $(DL_DIR) $(LIBVORBIS_SITE)/$(LIBVORBIS_SOURCE)
+ $(call DOWNLOAD,$(LIBVORBIS_SITE),$(LIBVORBIS_SOURCE))
$(LIBVORBIS_DIR)/.source: $(DL_DIR)/$(LIBVORBIS_SOURCE)
$(LIBVORBIS_CAT) $(DL_DIR)/$(LIBVORBIS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(MADPLAY_SOURCE):
- $(WGET) -P $(DL_DIR) $(MADPLAY_SITE)/$(MADPLAY_SOURCE)
+ $(call DOWNLOAD,$(MADPLAY_SITE),$(MADPLAY_SOURCE))
$(MADPLAY_DIR)/.unpacked: $(DL_DIR)/$(MADPLAY_SOURCE)
$(MADPLAY_CAT) $(DL_DIR)/$(MADPLAY_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(MPG123_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPG123_SITE)/$(MPG123_SOURCE)
+ $(call DOWNLOAD,$(MPG123_SITE),$(MPG123_SOURCE))
$(MPG123_DIR)/.unpacked: $(DL_DIR)/$(MPG123_SOURCE)
$(MPG123_CAT) $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(MPLAYER_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPLAYER_SITE)/$(MPLAYER_SOURCE)
+ $(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
$(MPLAYER_DIR)/.unpacked: $(DL_DIR)/$(MPLAYER_SOURCE)
$(MPLAYER_CAT) $(DL_DIR)/$(MPLAYER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
MUTT_TARGET_BINARY:=usr/bin/mutt
$(DL_DIR)/$(MUTT_SOURCE):
- $(WGET) -P $(DL_DIR) $(MUTT_SITE)/$(MUTT_SOURCE)
+ $(call DOWNLOAD,$(MUTT_SITE),$(MUTT_SOURCE))
$(DL_DIR)/$(MUTT_PATCH):
- $(WGET) -P $(DL_DIR) $(MUTT_SITE)/$(MUTT_PATCH)
+ $(call DOWNLOAD,$(MUTT_SITE),$(MUTT_PATCH))
$(MUTT_DIR)/.unpacked: $(DL_DIR)/$(MUTT_SOURCE) $(DL_DIR)/$(MUTT_PATCH)
$(MUTT_CAT) $(DL_DIR)/$(MUTT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
NBD_DIR=$(BUILD_DIR)/nbd-$(NBD_VERSION)
$(DL_DIR)/$(NBD_SOURCE):
- $(WGET) -P $(DL_DIR) $(NBD_SITE)/$(NBD_SOURCE)
+ $(call DOWNLOAD,$(NBD_SITE),$(NBD_SOURCE))
$(NBD_DIR)/.unpacked: $(DL_DIR)/$(NBD_SOURCE)
$(NBD_CAT) $(DL_DIR)/$(NBD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ncftp-source: $(DL_DIR)/$(NCFTP_SOURCE)
$(DL_DIR)/$(NCFTP_SOURCE):
- $(WGET) -P $(DL_DIR) $(NCFTP_SITE)/$(NCFTP_SOURCE)
+ $(call DOWNLOAD,$(NCFTP_SITE),$(NCFTP_SOURCE))
$(NCFTP_DIR)/.source: $(DL_DIR)/$(NCFTP_SOURCE)
$(BZCAT) $(DL_DIR)/$(NCFTP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(NCURSES_SOURCE):
- $(WGET) -P $(DL_DIR) $(NCURSES_SITE)/$(NCURSES_SOURCE)
+ $(call DOWNLOAD,$(NCURSES_SITE),$(NCURSES_SOURCE))
$(NCURSES_DIR)/.patched: $(DL_DIR)/$(NCURSES_SOURCE)
$(NCURSES_CAT) $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
NETKITBASE_TARGET_BINARY:=usr/sbin/inetd
$(DL_DIR)/$(NETKITBASE_SOURCE):
- $(WGET) -P $(DL_DIR) $(NETKITBASE_SITE)/$(NETKITBASE_SOURCE)
+ $(call DOWNLOAD,$(NETKITBASE_SITE),$(NETKITBASE_SOURCE))
netkitbase-source: $(DL_DIR)/$(NETKITBASE_SOURCE)
NETKITTELNET_TARGET_BINARY:=usr/sbin/telnetd
$(DL_DIR)/$(NETKITTELNET_SOURCE):
- $(WGET) -P $(DL_DIR) $(NETKITTELNET_SITE)/$(NETKITTELNET_SOURCE)
+ $(call DOWNLOAD,$(NETKITTELNET_SITE),$(NETKITTELNET_SOURCE))
netkittelnet-source: $(DL_DIR)/$(NETKITTELNET_SOURCE)
NETPLUG_TARGET_BINARY:=sbin/netplugd
$(DL_DIR)/$(NETPLUG_SOURCE):
- $(WGET) -P $(DL_DIR) $(NETPLUG_SITE)/$(NETPLUG_SOURCE)
+ $(call DOWNLOAD,$(NETPLUG_SITE),$(NETPLUG_SOURCE))
netplug-source: $(DL_DIR)/$(NETPLUG_SOURCE)
endif
$(DL_DIR)/$(NETSNMP_SOURCE):
- $(WGET) -P $(DL_DIR) $(NETSNMP_SITE)/$(NETSNMP_SOURCE)
+ $(call DOWNLOAD,$(NETSNMP_SITE),$(NETSNMP_SOURCE))
$(NETSNMP_DIR)/.unpacked: $(DL_DIR)/$(NETSNMP_SOURCE)
$(ZCAT) $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
NEWT_CFLAGS=-Os -g -fPIC
$(DL_DIR)/$(NEWT_SOURCE):
- $(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
+ $(call DOWNLOAD,$(NEWT_SITE),$(NEWT_SOURCE))
$(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE)
$(NEWT_CAT) $(DL_DIR)/$(NEWT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(DL_DIR)/$(NFS_UTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(NFS_UTILS_SITE)/$(NFS_UTILS_SOURCE)
+ $(call DOWNLOAD,$(NFS_UTILS_SITE),$(NFS_UTILS_SOURCE))
nfs-utils-source: $(DL_DIR)/$(NFS_UTILS_SOURCE)
http://www.ntfs-3g.org/ntfs-3g-1.5130.tgz
$(DL_DIR)/$(NTFS-3G_SOURCE):
- $(WGET) -P $(DL_DIR) $(NTFS-3G_SITE)/$(NTFS-3G_SOURCE)
+ $(call DOWNLOAD,$(NTFS-3G_SITE),$(NTFS-3G_SOURCE))
$(NTFS-3G_DIR)/.source: $(DL_DIR)/$(NTFS-3G_SOURCE)
$(ZCAT) $(DL_DIR)/$(NTFS-3G_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
NTP_TARGET_BINARY:=usr/bin/ntpdate
$(DL_DIR)/$(NTP_SOURCE):
- $(WGET) -P $(DL_DIR) $(NTP_SITE)/$(NTP_SOURCE)
+ $(call DOWNLOAD,$(NTP_SITE),$(NTP_SOURCE))
ntp-source: $(DL_DIR)/$(NTP_SOURCE)
OLSR_TARGET_PLUGIN=usr/lib/
$(DL_DIR)/$(OLSR_SOURCE):
- $(WGET) -P $(DL_DIR) $(OLSR_SITE)/$(OLSR_SOURCE)
+ $(call DOWNLOAD,$(OLSR_SITE),$(OLSR_SOURCE))
olsr-source: $(DL_DIR)/$(OLSR_SOURCE)
OPENMOTIF_HOST_DIR:=$(BUILD_DIR)/openmotif-$(OPENMOTIF_VERSION)-host
$(DL_DIR)/$(OPENMOTIF_SOURCE):
- $(WGET) -P $(DL_DIR) $(OPENMOTIF_SITE)/$(OPENMOTIF_SOURCE)
+ $(call DOWNLOAD,$(OPENMOTIF_SITE),$(OPENMOTIF_SOURCE))
openmotif-source: $(DL_DIR)/$(OPENMOTIF_SOURCE)
OPENNTPD_TARGET_BINARY:=usr/sbin/ntpd
$(DL_DIR)/$(OPENNTPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(OPENNTPD_SITE)/$(OPENNTPD_SOURCE)
+ $(call DOWNLOAD,$(OPENNTPD_SITE),$(OPENNTPD_SOURCE))
$(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE)
$(ZCAT) $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(OPENSWAN_SOURCE):
- $(WGET) -P $(DL_DIR) $(OPENSWAN_SITE)/$(OPENSWAN_SOURCE)
+ $(call DOWNLOAD,$(OPENSWAN_SITE),$(OPENSWAN_SOURCE))
openswan-source: $(DL_DIR)/$(OPENSWAN_SOURCE)
endif
$(DL_DIR)/$(OPENVPN_SOURCE):
- $(WGET) -P $(DL_DIR) $(OPENVPN_SITE)/$(OPENVPN_SOURCE)
+ $(call DOWNLOAD,$(OPENVPN_SITE),$(OPENVPN_SOURCE))
openvpn-source: $(DL_DIR)/$(OPENVPN_SOURCE)
GNUPATCH_TARGET_BINARY:=usr/bin/patch
$(DL_DIR)/$(GNUPATCH_SOURCE):
- $(WGET) -P $(DL_DIR) $(GNUPATCH_SITE)/$(GNUPATCH_SOURCE)
+ $(call DOWNLOAD,$(GNUPATCH_SITE),$(GNUPATCH_SOURCE))
patch-source: $(DL_DIR)/$(GNUPATCH_SOURCE)
endif
$(DL_DIR)/$(PCIUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(PCIUTILS_SITE)/$(PCIUTILS_SOURCE)
+ $(call DOWNLOAD,$(PCIUTILS_SITE),$(PCIUTILS_SOURCE))
$(DL_DIR)/$(PCIIDS_SOURCE):
- $(WGET) -P $(DL_DIR) $(PCIIDS_SITE)/$(PCIIDS_SOURCE)
+ $(call DOWNLOAD,$(PCIIDS_SITE),$(PCIIDS_SOURCE))
$(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
PCMCIA_CAT:=$(ZCAT)
$(DL_DIR)/$(PCMCIA_SOURCE):
- $(WGET) -P $(DL_DIR) $(PCMCIA_SITE)/$(PCMCIA_SOURCE)
+ $(call DOWNLOAD,$(PCMCIA_SITE),$(PCMCIA_SOURCE))
pcmcia-source: $(DL_DIR)/$(PCMCIA_SOURCE)
endif
$(DL_DIR)/$(PHP_SOURCE):
- $(WGET) -P $(DL_DIR) $(PHP_SITE)
+ $(call DOWNLOAD,$(PHP_SITE))
php-source: $(DL_DIR)/$(PHP_SOURCE)
PKGCONFIG_TARGET_BINARY:=usr/bin/pkg-config
$(DL_DIR)/$(PKGCONFIG_SOURCE):
- $(WGET) -P $(DL_DIR) $(PKGCONFIG_SITE)/$(PKGCONFIG_SOURCE)
+ $(call DOWNLOAD,$(PKGCONFIG_SITE),$(PKGCONFIG_SOURCE))
pkgconfig-source: $(DL_DIR)/$(PKGCONFIG_SOURCE)
endif
$(DL_DIR)/$(PORTAGE_SOURCE):
- $(WGET) -P $(DL_DIR) $(PORTAGE_SITE)/$(PORTAGE_SOURCE)
+ $(call DOWNLOAD,$(PORTAGE_SITE),$(PORTAGE_SOURCE))
$(DL_DIR)/$(SANDBOX_SOURCE):
- $(WGET) -P $(DL_DIR) $(SANDBOX_SITE)/$(SANDBOX_SOURCE)
+ $(call DOWNLOAD,$(SANDBOX_SITE),$(SANDBOX_SOURCE))
portage-source: $(DL_DIR)/$(PORTAGE_SOURCE)
sandbox-source: $(DL_DIR)/$(SANDBOX_SOURCE)
ifeq ($(PORTAGE_PATCH_APPLY),y)
$(DL_DIR)/$(PORTAGE_PATCH):
- $(WGET) -P $(DL_DIR) $(PORTAGE_SITE)/$(PORTAGE_PATCH)
+ $(call DOWNLOAD,$(PORTAGE_SITE),$(PORTAGE_PATCH))
$(PORTAGE_DIR)/.patched: $(PORTAGE_DOWNLOAD_DIR)/.unpacked $(DL_DIR)/$(PORTAGE_PATCH)
mv -f $(BUILD_DIR)/portage-$(PORTAGE_DOWNLOAD_VERSION) $(PORTAGE_DIR)
PORTMAP_TARGET_BINARY:=sbin/portmap
$(DL_DIR)/$(PORTMAP_SOURCE):
- $(WGET) -P $(DL_DIR) $(PORTMAP_SITE)/$(PORTMAP_SOURCE)
+ $(call DOWNLOAD,$(PORTMAP_SITE),$(PORTMAP_SOURCE))
portmap-source: $(DL_DIR)/$(PORTMAP_SOURCE)
$(DL_DIR)/$(PPPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(PPPD_SITE)/$(PPPD_SOURCE)
+ $(call DOWNLOAD,$(PPPD_SITE),$(PPPD_SOURCE))
pppd-source: $(DL_DIR)/$(PPPD_SOURCE)
PPTP_LINUX_TARGET_BINARY:=usr/sbin/pptp
$(DL_DIR)/$(PPTP_LINUX_SOURCE):
- $(WGET) -P $(DL_DIR) $(PPTP_LINUX_SITE)/$(PPTP_LINUX_SOURCE)
+ $(call DOWNLOAD,$(PPTP_LINUX_SITE),$(PPTP_LINUX_SOURCE))
ifneq ($(PPTP_LINUX_PATCH),)
PPTP_LINUX_PATCH_FILE:=$(DL_DIR)/$(PPTP_LINUX_PATCH)
$(PPTP_LINUX_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(PPTP_LINUX_SITE)/$(PPTP_LINUX_PATCH)
+ $(call DOWNLOAD,$(PPTP_LINUX_SITE),$(PPTP_LINUX_PATCH))
endif
$(PPTP_LINUX_DIR)/.unpacked: $(DL_DIR)/$(PPTP_LINUX_SOURCE) $(PPTP_LINUX_PATCH_FILE)
PROCPS_TARGET_BINARY:=usr/bin/vmstat
$(DL_DIR)/$(PROCPS_SOURCE):
- $(WGET) -P $(DL_DIR) $(PROCPS_SITE)/$(PROCPS_SOURCE)
+ $(call DOWNLOAD,$(PROCPS_SITE),$(PROCPS_SOURCE))
$(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
$(ZCAT) $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(PROFTPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(PROFTPD_SITE)/$(PROFTPD_SOURCE)
+ $(call DOWNLOAD,$(PROFTPD_SITE),$(PROFTPD_SOURCE))
proftpd-source: $(DL_DIR)/$(PROFTPD_SOURCE)
endif
$(DL_DIR)/$(PYTHON_SOURCE):
- $(WGET) -P $(DL_DIR) $(PYTHON_SITE)/$(PYTHON_SOURCE)
+ $(call DOWNLOAD,$(PYTHON_SITE),$(PYTHON_SOURCE))
python-source: $(DL_DIR)/$(PYTHON_SOURCE)
ifneq ($(BR2_QTE_C_QTE_VERSION),$(BR2_QTE_C_QT3_VERSION))
$(DL_DIR)/$(QTE_QT3_SOURCE):
- $(WGET) -P $(DL_DIR) $(QTE_SITE)/$(@F)
+ $(call DOWNLOAD,$(QTE_SITE),$(@F))
endif
$(DL_DIR)/$(QTE_QTE_SOURCE) $(DL_DIR)/$(QTE_QVFB_SOURCE) $(DL_DIR)/$(QTE_QTOPIA_SOURCE):
- $(WGET) -P $(DL_DIR) $(QTE_SITE)/$(@F)
+ $(call DOWNLOAD,$(QTE_SITE),$(@F))
$(QTE_TMAKE_DIR)/.unpacked: $(DL_DIR)/$(QTE_TMAKE_SOURCE)
$(QTE_CAT) $(DL_DIR)/$(QTE_TMAKE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
QTOPIA4_QMAKE:=$(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++
$(DL_DIR)/$(QTOPIA4_SOURCE):
- $(WGET) -P $(DL_DIR) $(QTOPIA4_SITE)/$(QTOPIA4_SOURCE)
+ $(call DOWNLOAD,$(QTOPIA4_SITE),$(QTOPIA4_SOURCE))
qtopia4-source: $(DL_DIR)/$(QTOPIA4_SOURCE)
# ")
$(DL_DIR)/$(QUAGGA_SOURCE):
- $(WGET) -P $(DL_DIR) $(QUAGGA_SITE)/$(QUAGGA_SOURCE)
+ $(call DOWNLOAD,$(QUAGGA_SITE),$(QUAGGA_SOURCE))
ifneq ($(QUAGGA_PATCH),)
QUAGGA_PATCH_FILE=$(DL_DIR)/$(QUAGGA_PATCH)
$(DL_DIR)/$(QUAGGA_PATCH):
- $(WGET) -P $(DL_DIR) $(QUAGGA_SITE)/$(QUAGGA_PATCH)
+ $(call DOWNLOAD,$(QUAGGA_SITE),$(QUAGGA_PATCH))
endif
quagga-source: $(DL_DIR)/$(QUAGGA_SOURCE) $(QUAGGA_PATCH_FILE)
RAIDTOOLS2_TARGET_BINARY:=sbin/mkraid
$(DL_DIR)/$(RAIDTOOLS2_SOURCE):
- $(WGET) -P $(DL_DIR) $(RAIDTOOLS2_SITE)/$(RAIDTOOLS2_SOURCE)
+ $(call DOWNLOAD,$(RAIDTOOLS2_SITE),$(RAIDTOOLS2_SOURCE))
raidtools2-source: $(DL_DIR)/$(RAIDTOOLS2_SOURCE)
RDESKTOP_CAT:=$(ZCAT)
$(DL_DIR)/$(RDESKTOP_SOURCE):
- $(WGET) -P $(DL_DIR) $(RDESKTOP_SITE)/$(RDESKTOP_SOURCE)
+ $(call DOWNLOAD,$(RDESKTOP_SITE),$(RDESKTOP_SOURCE))
$(RDESKTOP_DIR)/.unpacked: $(DL_DIR)/$(RDESKTOP_SOURCE)
$(RDESKTOP_CAT) $(DL_DIR)/$(RDESKTOP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
READLINE_TARGET_SHARED_BINARY:=usr/lib/$(READLINE_SHARED_BINARY)
$(DL_DIR)/$(READLINE_SOURCE):
- $(WGET) -P $(DL_DIR) $(READLINE_SITE)/$(READLINE_SOURCE)
+ $(call DOWNLOAD,$(READLINE_SITE),$(READLINE_SOURCE))
readline-source: $(DL_DIR)/$(READLINE_SOURCE)
RP_PPPOE_TARGET_BINARY:=usr/sbin/pppoe
$(DL_DIR)/$(RP_PPPOE_SOURCE):
- $(WGET) -P $(DL_DIR) $(RP_PPPOE_SITE)/$(RP_PPPOE_SOURCE)
+ $(call DOWNLOAD,$(RP_PPPOE_SITE),$(RP_PPPOE_SOURCE))
ifneq ($(RP_PPPOE_PATCH),)
RP_PPPOE_PATCH_FILE:=$(DL_DIR)/$(RP_PPPOE_PATCH)
$(RP_PPPOE_PATCH_FILE):
- $(WGET) -P $(DL_DIR) $(RP_PPPOE_SITE)/$(RP_PPPOE_PATCH)
+ $(call DOWNLOAD,$(RP_PPPOE_SITE),$(RP_PPPOE_PATCH))
endif
$(RP_PPPOE_TOPDIR)/.unpacked: $(DL_DIR)/$(RP_PPPOE_SOURCE) $(RP_PPPOE_PATCH_FILE)
RUBY_TARGET_BINARY:=usr/bin/ruby
$(DL_DIR)/$(RUBY_SOURCE):
- $(WGET) -P $(DL_DIR) $(RUBY_SITE)/$(RUBY_SOURCE)
+ $(call DOWNLOAD,$(RUBY_SITE),$(RUBY_SOURCE))
ruby-source: $(DL_DIR)/$(RUBY_SOURCE)
RXVT_BINARY:=$(RXVT_DIR)/src/rxvt
$(DL_DIR)/$(RXVT_SOURCE):
- $(WGET) -P $(DL_DIR) $(RXVT_SITE)/$(RXVT_SOURCE)
+ $(call DOWNLOAD,$(RXVT_SITE),$(RXVT_SOURCE))
rxvt-source: $(DL_DIR)/$(RXVT_SOURCE)
SAMBA_TARGET_BINARY:=usr/sbin/smbd
$(DL_DIR)/$(SAMBA_SOURCE):
- $(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
+ $(call DOWNLOAD,$(SAMBA_SITE),$(SAMBA_SOURCE))
$(SAMBA_DIR)/.unpacked: $(DL_DIR)/$(SAMBA_SOURCE)
$(SAMBA_CAT) $(DL_DIR)/$(SAMBA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(SDL_SOURCE):
- $(WGET) -P $(DL_DIR) $(SDL_SITE)/$(SDL_SOURCE)
+ $(call DOWNLOAD,$(SDL_SITE),$(SDL_SOURCE))
sdl-source: $(DL_DIR)/$(SDL_SOURCE)
SDL_MIXER_DIR:=$(BUILD_DIR)/SDL_mixer-$(SDL_MIXER_VERSION)
$(DL_DIR)/$(SDL_MIXER_SOURCE):
- $(WGET) -P $(DL_DIR) $(SDL_MIXER_SITE)/$(SDL_MIXER_SOURCE)
+ $(call DOWNLOAD,$(SDL_MIXER_SITE),$(SDL_MIXER_SOURCE))
sdl_mixer-source: $(DL_DIR)/$(SDL_MIXER_SOURCE)
SDL_TTF_DIR:=$(BUILD_DIR)/SDL_ttf-$(SDL_TTF_VERSION)
$(DL_DIR)/$(SDL_TTF_SOURCE):
- $(WGET) -P $(DL_DIR) $(SDL_TTF_SITE)/$(SDL_TTF_SOURCE)
+ $(call DOWNLOAD,$(SDL_TTF_SITE),$(SDL_TTF_SOURCE))
sdl_ttf-source: $(DL_DIR)/$(SDL_TTF_SOURCE)
$(DL_DIR)/$(SED_SOURCE):
mkdir -p $(DL_DIR)
- $(WGET) -P $(DL_DIR) $(SED_SITE)/$(SED_SOURCE)
+ $(call DOWNLOAD,$(SED_SITE),$(SED_SOURCE))
sed-source: $(DL_DIR)/$(SED_SOURCE)
SETSERIAL_TARGET_BINARY:=usr/bin/setserial
$(DL_DIR)/$(SETSERIAL_SOURCE):
- $(WGET) -P $(DL_DIR) $(SETSERIAL_SITE)/$(SETSERIAL_SOURCE)
+ $(call DOWNLOAD,$(SETSERIAL_SITE),$(SETSERIAL_SOURCE))
ifneq ($(SETSERIAL_PATCH_FILE),)
SETSERIAL_PATCH:=$(DL_DIR)/$(SETSERIAL_PATCH_FILE)
$(SETSERIAL_PATCH):
- $(WGET) -O $@ $(SETSERIAL_SITE)/$(SETSERIAL_PATCH_FILE)
+ $(WGET) -O $@ $(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE)
else
SETSERIAL_PATCH:=
endif
SFDISK_DIR=$(BUILD_DIR)/sfdisk$(SFDISK_VERSION)
$(DL_DIR)/$(SFDISK_SOURCE):
- $(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
+ $(call DOWNLOAD,$(SFDISK_SITE),$(SFDISK_SOURCE))
$(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
$(SFDISK_CAT) $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
SLANG_DIR=$(BUILD_DIR)/slang-$(SLANG_VERSION)-mini
$(DL_DIR)/$(SLANG_SOURCE):
- $(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
+ $(call DOWNLOAD,$(SLANG_SITE),$(SLANG_SOURCE))
$(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE)
$(SLANG_CAT) $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
SMARTMONTOOLS_TARGET_BINARY2:=usr/sbin/smartd
$(DL_DIR)/$(SMARTMONTOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(SMARTMONTOOLS_SITE)/$(SMARTMONTOOLS_SOURCE)
+ $(call DOWNLOAD,$(SMARTMONTOOLS_SITE),$(SMARTMONTOOLS_SOURCE))
smartmontools-source: $(DL_DIR)/$(SMARTMONTOOLS_SOURCE)
endif
$(DL_DIR)/$(SOCAT_SOURCE):
- $(WGET) -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE)
+ $(call DOWNLOAD,$(SOCAT_SITE),$(SOCAT_SOURCE))
$(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE)
$(SOCAT_CAT) $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
STUNNEL_DIR:=$(BUILD_DIR)/stunnel-$(STUNNEL_VERSION)
$(DL_DIR)/$(STUNNEL_SOURCE):
- $(WGET) -P $(DL_DIR) $(STUNNEL_SITE)/$(STUNNEL_SOURCE)
+ $(call DOWNLOAD,$(STUNNEL_SITE),$(STUNNEL_SOURCE))
stunnel-source: $(DL_DIR)/$(STUNNEL_SOURCE)
SUDO_UNZIP:=$(ZCAT)
$(DL_DIR)/$(SUDO_SOURCE):
- $(WGET) -P $(DL_DIR) $(SUDO_SITE)/$(SUDO_SOURCE)
+ $(call DOWNLOAD,$(SUDO_SITE),$(SUDO_SOURCE))
sudo-source: $(DL_DIR)/$(SUDO_SOURCE) $(SUDO_CONFIG_FILE)
SYSKLOGD_TARGET_BINARY:=$(SYSKLOGD_KLOGD_TARGET_BINARY)
$(DL_DIR)/$(SYSKLOGD_SOURCE):
- $(WGET) -P $(DL_DIR) $(SYSKLOGD_SITE)/$(SYSKLOGD_SOURCE)
+ $(call DOWNLOAD,$(SYSKLOGD_SITE),$(SYSKLOGD_SOURCE))
sysklogd-source: $(DL_DIR)/$(SYSKLOGD_SOURCE)
SYSVINIT_TARGET_BINARY:=sbin/init
$(DL_DIR)/$(SYSVINIT_SOURCE):
- $(WGET) -P $(DL_DIR) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE)
+ $(call DOWNLOAD,$(SYSVINIT_SITE),$(SYSVINIT_SOURCE))
sysvinit-unpacked: $(SYSVINIT_DIR)/.unpacked
$(SYSVINIT_DIR)/.unpacked: $(DL_DIR)/$(SYSVINIT_SOURCE)
GNUTAR_TARGET_BINARY:=bin/tar
$(DL_DIR)/$(GNUTAR_SOURCE):
- $(WGET) -P $(DL_DIR) $(GNUTAR_SITE)/$(GNUTAR_SOURCE)
+ $(call DOWNLOAD,$(GNUTAR_SITE),$(GNUTAR_SOURCE))
tar-source: $(DL_DIR)/$(GNUTAR_SOURCE)
TCL_DIR:=$(BUILD_DIR)/tcl$(TCL_VERSION)
$(DL_DIR)/$(TCL_SOURCE):
- $(WGET) -P $(DL_DIR) $(TCL_SITE)/$(TCL_SOURCE)
+ $(call DOWNLOAD,$(TCL_SITE),$(TCL_SOURCE))
$(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE)
$(ZCAT) $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
DHCPDUMP_CAT:=$(ZCAT)
$(DL_DIR)/$(DHCPDUMP_SOURCE):
- $(WGET) -P $(DL_DIR) $(DHCPDUMP_SITE)/$(DHCPDUMP_SOURCE)
+ $(call DOWNLOAD,$(DHCPDUMP_SITE),$(DHCPDUMP_SOURCE))
dhcpdump-source: $(DL_DIR)/$(DHCPDUMP_SOURCE)
endif
$(DL_DIR)/$(TCPDUMP_SOURCE):
- $(WGET) -P $(DL_DIR) $(TCPDUMP_SITE)/$(TCPDUMP_SOURCE)
+ $(call DOWNLOAD,$(TCPDUMP_SITE),$(TCPDUMP_SOURCE))
tcpdump-source: $(DL_DIR)/$(TCPDUMP_SOURCE)
TFTP_HPA_TARGET_BINARY:=usr/sbin/in.tftpd
$(DL_DIR)/$(TFTP_HPA_SOURCE):
- $(WGET) -P $(DL_DIR) $(TFTP_HPA_SITE)/$(TFTP_HPA_SOURCE)
+ $(call DOWNLOAD,$(TFTP_HPA_SITE),$(TFTP_HPA_SOURCE))
tftpd-source: $(DL_DIR)/$(TFTP_HPA_SOURCE)
THTTPD_WEB_DIR:=$(THTTPD_ROOT)/www
$(DL_DIR)/$(THTTPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(THTTPD_SITE)/$(THTTPD_SOURCE)
+ $(call DOWNLOAD,$(THTTPD_SITE),$(THTTPD_SOURCE))
thttpd-source: $(DL_DIR)/$(THTTPD_SOURCE)
TINYHTTPD_TARGET_BINARY:=usr/sbin/tinyhttpd
$(DL_DIR)/$(TINYHTTPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(TINYHTTPD_SITE)/$(TINYHTTPD_SOURCE)
+ $(call DOWNLOAD,$(TINYHTTPD_SITE),$(TINYHTTPD_SOURCE))
tinyhttpd-source: $(DL_DIR)/$(TINYHTTPD_SOURCE)
TINYLOGIN_CAT:=$(BZCAT)
$(DL_DIR)/$(TINYLOGIN_SOURCE):
- $(WGET) -P $(DL_DIR) $(TINYLOGIN_SITE)/$(TINYLOGIN_SOURCE)
+ $(call DOWNLOAD,$(TINYLOGIN_SITE),$(TINYLOGIN_SOURCE))
tinylogin-source: $(DL_DIR)/$(TINYLOGIN_SOURCE)
TN5250_CAT:=$(ZCAT)
$(DL_DIR)/$(TN5250_SOURCE):
- $(WGET) -P $(DL_DIR) $(TN5250_SITE)/$(TN5250_SOURCE)
+ $(call DOWNLOAD,$(TN5250_SITE),$(TN5250_SOURCE))
$(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
$(TN5250_CAT) $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
TSLIB_DIR:=$(BUILD_DIR)/tslib-$(TSLIB_VERSION)
$(DL_DIR)/$(TSLIB_SOURCE):
- $(WGET) -P $(DL_DIR) $(TSLIB_SITE)/$(TSLIB_SOURCE)
+ $(call DOWNLOAD,$(TSLIB_SITE),$(TSLIB_SOURCE))
tslib-source: $(DL_DIR)/$(TSLIB_SOURCE)
TTCP_DIR=$(BUILD_DIR)/ttcp$(TTCP_VERSION)
$(DL_DIR)/$(TTCP_SOURCE):
- $(WGET) -P $(DL_DIR) $(TTCP_SOURCE_URL)/$(TTCP_SOURCE)
+ $(call DOWNLOAD,$(TTCP_SOURCE_URL),$(TTCP_SOURCE))
$(TTCP_DIR)/.unpacked: $(DL_DIR)/$(TTCP_SOURCE)
-mkdir $(TTCP_DIR)
UDEV_ROOT:=/dev
$(DL_DIR)/$(UDEV_SOURCE):
- $(WGET) -P $(DL_DIR) $(UDEV_SITE)/$(UDEV_SOURCE)
+ $(call DOWNLOAD,$(UDEV_SITE),$(UDEV_SOURCE))
$(UDEV_DIR)/.unpacked: $(DL_DIR)/$(UDEV_SOURCE)
$(UDEV_CAT) $(DL_DIR)/$(UDEV_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
UDHCP_DIR:=$(BUILD_DIR)/udhcp-$(UDHCP_VERSION)
$(DL_DIR)/$(UDHCP_SOURCE):
- $(WGET) -P $(DL_DIR) $(UDHCP_SITE)/$(UDHCP_SOURCE)
+ $(call DOWNLOAD,$(UDHCP_SITE),$(UDHCP_SOURCE))
udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE)
BR2_UDPCAST_CFLAGS:=
$(DL_DIR)/$(UDPCAST_SOURCE):
- $(WGET) -P $(DL_DIR) $(UDPCAST_SITE)/$(UDPCAST_SOURCE)
+ $(call DOWNLOAD,$(UDPCAST_SITE),$(UDPCAST_SOURCE))
udpcast-source: $(DL_DIR)/$(UDPCAST_SOURCE)
USBMOUNT_TARGET_BINARY:=sbin/usbmount
$(DL_DIR)/$(USBMOUNT_SOURCE):
- $(WGET) -P $(DL_DIR) $(USBMOUNT_SITE)/$(USBMOUNT_SOURCE)
+ $(call DOWNLOAD,$(USBMOUNT_SITE),$(USBMOUNT_SOURCE))
usbmount-source: $(DL_DIR)/$(USBMOUNT_SOURCE)
USBUTILS_TARGET_BINARY:=usr/sbin/lsusb
$(DL_DIR)/$(USBUTILS_SOURCE):
- $(WGET) -P $(DL_DIR) $(USBUTILS_SITE)/$(USBUTILS_SOURCE)
+ $(call DOWNLOAD,$(USBUTILS_SITE),$(USBUTILS_SOURCE))
usbutils-source: $(DL_DIR)/$(USBUTILS_SOURCE)
UTIL-LINUX_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/chkdupexe
$(DL_DIR)/$(UTIL-LINUX_SOURCE):
- $(WGET) -P $(DL_DIR) $(UTIL-LINUX_SITE)/$(UTIL-LINUX_SOURCE)
+ $(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))
$(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE)
$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
VALGRIND_CAT:=$(BZCAT)
$(DL_DIR)/$(VALGRIND_SOURCE):
- $(WGET) -P $(DL_DIR) $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
+ $(call DOWNLOAD,$(VALGRIND_SITE),$(VALGRIND_SOURCE))
$(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE)
$(VALGRIND_CAT) $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
VPNC_TARGET_SCRIPT:=$(TARGET_DIR)/etc/vpnc/default.conf
$(DL_DIR)/$(VPNC_SOURCE):
- $(WGET) -P $(DL_DIR) $(VPNC_SITE)/$(VPNC_SOURCE)
+ $(call DOWNLOAD,$(VPNC_SITE),$(VPNC_SOURCE))
$(VPNC_DIR)/.unpacked: $(DL_DIR)/$(VPNC_SOURCE)
$(VPNC_CAT) $(DL_DIR)/$(VPNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
endif
$(DL_DIR)/$(VSFTPD_SOURCE):
- $(WGET) -P $(DL_DIR) $(VSFTPD_SITE)/$(VSFTPD_SOURCE)
+ $(call DOWNLOAD,$(VSFTPD_SITE),$(VSFTPD_SOURCE))
vsftpd-source: $(DL_DIR)/$(VSFTPD_SOURCE)
VTUN_TARGET_BINARY:=usr/sbin/vtund
$(DL_DIR)/$(VTUN_SOURCE):
- $(WGET) -P $(DL_DIR) $(VTUN_SITE)/$(VTUN_SOURCE)
+ $(call DOWNLOAD,$(VTUN_SITE),$(VTUN_SOURCE))
vtun-source: $(DL_DIR)/$(VTUN_SOURCE)
WGET_TARGET_BINARY:=bin/wget
$(DL_DIR)/$(WGET_SOURCE):
- $(WGET) -P $(DL_DIR) $(WGET_SITE)/$(WGET_SOURCE)
+ $(call DOWNLOAD,$(WGET_SITE),$(WGET_SOURCE))
wget-source: $(DL_DIR)/$(WGET_SOURCE)
WIPE_TARGET_BINARY:=bin/wipe
$(DL_DIR)/$(WIPE_SOURCE):
- $(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_SOURCE)
+ $(call DOWNLOAD,$(WIPE_SITE),$(WIPE_SOURCE))
ifneq ($(WIPE_PATCH),)
$(DL_DIR)/$(WIPE_PATCH):
- $(WGET) -P $(DL_DIR) $(WIPE_SITE)/$(WIPE_PATCH)
+ $(call DOWNLOAD,$(WIPE_SITE),$(WIPE_PATCH))
endif
wipe-source: $(DL_DIR)/$(WIPE_SOURCE) $(DL_DIR)/$(WIPE_PATCH)
WIRELESS_TOOLS_BUILD_DIR=$(BUILD_DIR)/wireless_tools.$(WIRELESS_TOOLS_VERSION)
$(DL_DIR)/$(WIRELESS_TOOLS_SOURCE):
- $(WGET) -P $(DL_DIR) $(WIRELESS_TOOLS_SOURCE_URL)/$(WIRELESS_TOOLS_SOURCE)
+ $(call DOWNLOAD,$(WIRELESS_TOOLS_SOURCE_URL),$(WIRELESS_TOOLS_SOURCE))
$(WIRELESS_TOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE)
$(ZCAT) $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
MESA_DRIVERS=
$(DL_DIR)/$(MESA3D_SOURCE):
- $(WGET) -P $(DL_DIR) $(MESA3D_SITE)/$(MESA3D_SOURCE)
+ $(call DOWNLOAD,$(MESA3D_SITE),$(MESA3D_SOURCE))
$(MESA3D_DIR)/.extracted: $(DL_DIR)/$(MESA3D_SOURCE)
$(ZCAT) $(DL_DIR)/$(MESA3D_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
XAPP_XMAN_DIR:=$(BUILD_DIR)/xman-$(XAPP_XMAN_VERSION)
$(DL_DIR)/$(XAPP_XMAN_SOURCE):
- $(WGET) -P $(DL_DIR) $(XAPP_XMAN_SITE)/$(XAPP_XMAN_SOURCE)
+ $(call DOWNLOAD,$(XAPP_XMAN_SITE),$(XAPP_XMAN_SOURCE))
$(XAPP_XMAN_DIR)/.extracted: $(DL_DIR)/$(XAPP_XMAN_SOURCE)
$(BZCAT) $(DL_DIR)/$(XAPP_XMAN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
XDATA_XCURSOR_THEMES_DIR:=$(BUILD_DIR)/xcursor-themes-$(XDATA_XCURSOR_THEMES_VERSION)
$(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE):
- $(WGET) -P $(DL_DIR) $(XDATA_XCURSOR_THEMES_SITE)/$(XDATA_XCURSOR_THEMES_SOURCE)
+ $(call DOWNLOAD,$(XDATA_XCURSOR_THEMES_SITE),$(XDATA_XCURSOR_THEMES_SOURCE))
$(XDATA_XCURSOR_THEMES_DIR)/.extracted: $(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE)
$(BZCAT) $(DL_DIR)/$(XDATA_XCURSOR_THEMES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
XFONT_FONT_UTIL_CAT:=$(BZCAT)
$(DL_DIR)/$(XFONT_FONT_UTIL_SOURCE):
- $(WGET) -P $(DL_DIR) $(XFONT_FONT_UTIL_SITE)/$(XFONT_FONT_UTIL_SOURCE)
+ $(call DOWNLOAD,$(XFONT_FONT_UTIL_SITE),$(XFONT_FONT_UTIL_SOURCE))
xfont_font-util-source: $(DL_DIR)/$(XFONT_FONT_UTIL_SOURCE)
XERCES_BINARY:=lib/libxerces-c.so.27.0
$(DL_DIR)/$(XERCES_SOURCE):
- $(WGET) -P $(DL_DIR) $(XERCES_SITE)/$(XERCES_SOURCE)
+ $(call DOWNLOAD,$(XERCES_SITE),$(XERCES_SOURCE))
xerces-source: $(DL_DIR)/$(XERCES_SOURCE)
repair/xfs_repair quota/xfs_quota
$(DL_DIR)/$(XFSPROGS_SOURCE):
- $(WGET) -P $(DL_DIR) $(XFSPROGS_SITE)/$(XFSPROGS_SOURCE)
+ $(call DOWNLOAD,$(XFSPROGS_SITE),$(XFSPROGS_SOURCE))
xfsprogs-source: $(DL_DIR)/$(XFSPROGS_SOURCE)
ZLIB_DIR:=$(BUILD_DIR)/zlib-$(ZLIB_VERSION)
$(DL_DIR)/$(ZLIB_SOURCE):
- $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
+ $(call DOWNLOAD,$(ZLIB_SITE),$(ZLIB_SOURCE))
$(ZLIB_DIR)/.patched: $(DL_DIR)/$(ZLIB_SOURCE)
$(ZLIB_CAT) $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -