From 3560fdb16cde733356ec930a76a0f4577f37b1fb Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 3 Jan 2016 16:13:26 +0300 Subject: add package waf --- index.html | 4 ++++ src/waf.mk | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/waf.mk 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) VTK6 + waf + Waf: the meta build system + + wavpack WavPack 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 -- cgit v0.12