mirror of https://git.wownero.com/dsc/mxe.git
add package waf
This commit is contained in:
parent
0731545422
commit
3560fdb16c
|
@ -2550,6 +2550,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">vtk6</td>
|
||||
<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>
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue