mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
+gnu.org/patch
This commit is contained in:
parent
298cf2b499
commit
d617f2e3b1
1 changed files with 28 additions and 0 deletions
28
projects/gnu.org/patch/package.yml
Normal file
28
projects/gnu.org/patch/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
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
|
Loading…
Reference in a new issue