summaryrefslogtreecommitdiffstats
path: root/source.mk
blob: 01faf5ead58736d7fb0b27999b7ffdf0c5540eb8 (plain)
1
2
3
4
5
6
7
8
9
10
upstream_base_url = http://rabbit.dereferenced.org/~nenolod/distfiles
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)