diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-13 22:52:35 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-13 22:52:35 (EDT) |
commit | f988e8f012630bf252dd88425ad83bf4e53bff75 (patch) | |
tree | 64b1c6935ce53ce3f5f308763b269bac00efbc18 | |
parent | dfa51e11e7454b1020a05fe42b39008f26c4ea36 (diff) |
build: Add "source" and "nop" targets.
-rwxr-xr-x | build | 5 | ||||
-rw-r--r-- | source.mk | 10 |
2 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,10 @@ #!/usr/bin/make -f +include ../source.mk + +nop: + @: + build: oh-autoconfigure -- \ --disable-xmlto \ diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..29fcf75 --- /dev/null +++ b/source.mk @@ -0,0 +1,10 @@ +upstream_base_url = ftp://ftp.alsa-project.org/pub/utils +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) |