upstream_archive = fakeroot_$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 upstream_mirror = http://ftp.debian.org/debian upstream_url = $(upstream_mirror)/pool/main/f/fakeroot/$(upstream_archive) source_archive = ../fakeroot-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 $(source_archive): wget -c '$(upstream_url)' mv '$(upstream_archive)' '$(source_archive)' source: $(source_archive)