mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/ivarch.com/pv/package.yml
This commit is contained in:
parent
b6bf3f4027
commit
a42b49daa3
1 changed files with 29 additions and 0 deletions
29
projects/ivarch.com/pv/package.yml
Normal file
29
projects/ivarch.com/pv/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://www.ivarch.com/programs/sources/pv-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://www.ivarch.com/programs/pv.shtml
|
||||
match: /pv-(\d+(?:\.\d+)+)\.tar\.gz/
|
||||
strip:
|
||||
- /^pv-/
|
||||
- /\.tar\.gz$/
|
||||
|
||||
build:
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{hw.concurrency}} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix={{prefix}}
|
||||
- --mandir={{prefix}}/share/man
|
||||
- --disable-nls
|
||||
CFLAGS: -Wno-implicit-function-declaration $CFLAGS
|
||||
|
||||
provides:
|
||||
- bin/pv
|
||||
|
||||
test:
|
||||
- pv --version | grep {{version}}
|
||||
- input_data="Some example data for pv testing."
|
||||
- echo "$input_data" | pv -p -e -s $(echo -n "$input_data" | wc -c)
|
Loading…
Reference in a new issue