2022-08-02 04:18:01 +03:00
|
|
|
distributable:
|
|
|
|
url: https://ftp.gnu.org/gnu/make/make-{{ version.raw }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/make/
|
|
|
|
match: /make-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /make-/
|
|
|
|
- /.tar.gz/
|
2022-08-02 04:18:01 +03:00
|
|
|
|
2022-11-03 21:09:55 +03:00
|
|
|
provides:
|
|
|
|
- bin/make
|
|
|
|
|
2023-01-15 22:34:19 +03:00
|
|
|
interprets:
|
|
|
|
filename: Makefile
|
|
|
|
args: [make, --file]
|
|
|
|
|
2022-08-02 04:18:01 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/m4: 1
|
|
|
|
tea.xyz/gx/make: '*' #FIXME bootstrapping system
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }} --disable-dependency-tracking
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
|
|
|
test:
|
|
|
|
#TODO build self
|
|
|
|
script: |
|
|
|
|
make --file=$FIXTURE
|
|
|
|
test "$(cat foo)" = bar
|
|
|
|
make --question --file=$FIXTURE
|
|
|
|
fixture:
|
|
|
|
"foo:\n\techo bar > $@"
|
|
|
|
env:
|
|
|
|
MAKEFLAGS: --file=$FIXTURE
|