mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
36 lines
684 B
YAML
36 lines
684 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/make/make-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/make/
|
|
match: /make-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /make-/
|
|
- /.tar.gz/
|
|
|
|
provides:
|
|
- bin/make
|
|
|
|
interprets:
|
|
filename: Makefile
|
|
args: [make, --file]
|
|
|
|
build:
|
|
dependencies:
|
|
gnu.org/m4: 1
|
|
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
|