From c54bde733f21afeab9fbc3ea17f355489767bb83 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 07 Jan 2021 03:37:07 -0500 Subject: Initial commit --- (limited to 'source.mk') diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..ed694e3 --- /dev/null +++ b/source.mk @@ -0,0 +1,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) -- cgit v0.9.1