summaryrefslogtreecommitdiffstats
path: root/source.mk
blob: ed694e3084cbcdfc6e9a926ae01eb2a087fb8cab (plain)
1
2
3
4
5
6
7
8
9
10
upstream_version = $$(printf '%s' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \
	sed 's/\./-/g')
upstream_url_base = https://github.com/lm-sensors/lm-sensors
upstream_url = $(upstream_url_base)/archive/V$(upstream_version).tar.gz
source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz

$(source_archive):
	wget -O '$@' "$(upstream_url)"

source: $(source_archive)