summaryrefslogtreecommitdiffstats
path: root/source.mk
blob: dbfa1a2725677eeb6402913a7ae2b1109d1188be (plain)
1
2
3
4
5
6
7
8
9
10
upstream_base_url = https://distfiles.dereferenced.org/pkgconf
upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.xz
upstream_url = $(upstream_base_url)/$(upstream_archive)
source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.xz

$(source_archive):
	wget -c '$(upstream_url)'
	mv '$(upstream_archive)' '$(source_archive)'

source: $(source_archive)