summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.html4
-rw-r--r--src/waf.mk22
2 files changed, 26 insertions, 0 deletions
diff --git a/index.html b/index.html
index 9379f03..6ac3fd2 100644
--- a/index.html
+++ b/index.html
@@ -2551,6 +2551,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="website"><a href="http://www.vtk.org/">VTK6</a></td>
</tr>
<tr>
+ <td class="package">waf</td>
+ <td class="website"><a href="https://waf.io/">Waf: the meta build system</a></td>
+ </tr>
+ <tr>
<td class="package">wavpack</td>
<td class="website"><a href="http://www.wavpack.com/">WavPack</a></td>
</tr>
diff --git a/src/waf.mk b/src/waf.mk
new file mode 100644
index 0000000..11d7b4c
--- /dev/null
+++ b/src/waf.mk
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := waf
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.8.17
+$(PKG)_CHECKSUM := 63c53b03dd23afde1008dced06a011dad581d24392818c8069a40af99f6ac2b6
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL := https://waf.io/$($(PKG)_FILE)
+$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'https://waf.io/' | \
+ $(SED) -n 's,.*waf-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD_$(BUILD)
+ mkdir -p '$(PREFIX)/$(BUILD)/bin'
+ cp '$(1)/waf' '$(PREFIX)/$(BUILD)/bin/waf'
+endef