forked from mxe/mxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
waf.mk
22 lines (19 loc) · 777 Bytes
/
waf.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := waf
$(PKG)_WEBSITE := https://waf.io/
$(PKG)_DESCR := Waf: the meta build system
$(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)
$(PKG)_TYPE := source-only
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://waf.io/' | \
$(SED) -n 's,.*waf-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
# waf (python) creates a runtime bytecode cache that causes issues
# with packaging - unpack source into build dir and use directly