upstream_base_url = ftp://ftp.alsa-project.org/pub/utils upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.bz2 upstream_url = $(upstream_base_url)/$(upstream_archive) source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 $(source_archive): wget -c '$(upstream_url)' mv '$(upstream_archive)' '$(source_archive)' source: $(source_archive)