summaryrefslogtreecommitdiffstats
path: root/source.mk
blob: 2f3ed557af39b18835eaf69202fcfd8fd72333d5 (plain)
1
2
3
4
5
6
7
8
9
10
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)