Commit Message

The goal here is to simplify the infrastructure by putting most of the
code in the dl-wrapper as it's easier to implement and to read.
Most of the function where common already, this patch finalize it by
making the pkg-download.mk pass all the parameters needed to the
dl-wrapper which in turns will pass everything to every backend.
The backend will then cherry-pick what it needs from theses arguments
and act accordingly.
It eases the transition to the addition of a sub directory per package
in the DL_DIR, and later on, a git cache.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
package/pkg-download.mk | 166 ++++++++------------------------------------
support/download/bzr | 2 +-
support/download/cp | 2 +-
support/download/cvs | 2 +-
support/download/dl-wrapper | 65 ++++++++++-------
support/download/wget | 7 +-
6 files changed, 77 insertions(+), 167 deletions(-)