mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 10:45:08 +03:00
28 lines
471 B
YAML
28 lines
471 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/patch/patch-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
- 2.7.6
|
|
|
|
provides:
|
|
- bin/patch
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/make: '*'
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
./configure --prefix={{prefix}}
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
script: |
|
|
echo hello > file
|
|
cat $FIXTURE | patch ./file
|
|
test "$(cat file)" = goodbye
|
|
fixture: |
|
|
1c1
|
|
< hello
|
|
---
|
|
> goodbye
|