From f988e8f012630bf252dd88425ad83bf4e53bff75 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 13 Jun 2014 22:52:35 -0400 Subject: build: Add "source" and "nop" targets. --- diff --git a/build b/build index f72aa28..868da77 100755 --- a/build +++ b/build @@ -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) -- cgit v0.9.1