summaryrefslogtreecommitdiffstats
path: root/source.mk
blob: 7134832dc32e4e298e963694bb798c802575e2f1 (plain)
1
2
3
4
5
6
7
8
9
10
upstream_archive = Dev86src-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
upstream_base_url = http://v3.sk/~lkundrak/dev86
source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz

$(source_archive):
	wget -c '$(upstream_base_url)/$(upstream_archive)' || \
		wget -c '$(upstream_base_url)/archive/$(upstream_archive)'
	mv '$(upstream_archive)' '$(source_archive)'

source: $(source_archive)