upstream_archive = opkg-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz upstream_url = http://opkg.googlecode.com/files/$(upstream_archive) source_archive = ../opkg-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz $(source_archive): wget -c '$(upstream_url)' mv '$(upstream_archive)' '$(source_archive)' source: $(source_archive)