mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
4fbf7189c5
Closes #346
31 lines
650 B
YAML
31 lines
650 B
YAML
distributable:
|
||
url: https://ftp.gnu.org/gnu/sed/sed-{{version.raw}}.tar.xz
|
||
strip-components: 1
|
||
|
||
# if there’s a github then we can parse the versions
|
||
versions:
|
||
- 4.9
|
||
|
||
build:
|
||
dependencies:
|
||
tea.xyz/gx/cc: c99
|
||
tea.xyz/gx/make: '*'
|
||
script: |
|
||
./configure $ARGS
|
||
make --jobs {{ hw.concurrency }} install
|
||
# it’s extremely common for packages to require the above
|
||
env:
|
||
# add any environment variables here
|
||
ARGS:
|
||
- --prefix="{{prefix}}"
|
||
- --disable-debug
|
||
|
||
provides:
|
||
- bin/sed
|
||
|
||
test:
|
||
fixture:
|
||
Hello world!
|
||
script: |
|
||
sed -i 's/world/World/g' $FIXTURE
|
||
test "$(cat $FIXTURE)" = 'Hello World!'
|