summaryrefslogtreecommitdiffstats
path: root/source.mk
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-19 12:01:05 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-19 12:01:05 (EDT)
commitbd522028516b6202a4f4d3edc3b5e59f66f26564 (patch)
treec97373ec719b86e189c7a7da2cb829eaf5b113be /source.mk
Initial commit.
Diffstat (limited to 'source.mk')
-rw-r--r--source.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..795afb5
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,11 @@
+upstream_sf_base = http://downloads.sourceforge.net/project/expect
+upstream_path = Expect/$(OPK_SOURCE_VERSION_UPSTREAM)
+upstream_archive = expect$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
+upstream_url = $(upstream_sf_base)/$(upstream_path)/$(upstream_archive)
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
+
+$(source_archive):
+ wget '$(upstream_url)'
+ mv '$(upstream_archive)' '$(source_archive)'
+
+source: $(source_archive)