2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2016-01-03 13:13:26 +00:00
|
|
|
|
|
|
|
PKG := waf
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://waf.io/
|
|
|
|
$(PKG)_DESCR := Waf: the meta build system
|
2016-01-03 13:13:26 +00:00
|
|
|
$(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)
|
2017-11-25 10:48:27 +00:00
|
|
|
$(PKG)_TARGETS := $(BUILD)
|
2018-03-11 16:28:19 +00:00
|
|
|
$(PKG)_TYPE := source-only
|
2016-01-03 13:13:26 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
|
|
|
$(WGET) -q -O- 'https://waf.io/' | \
|
|
|
|
$(SED) -n 's,.*waf-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
2018-03-11 16:28:19 +00:00
|
|
|
# waf (python) creates a runtime bytecode cache that causes issues
|
|
|
|
# with packaging - unpack source into build dir and use directly
|