mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
27 lines
629 B
YAML
27 lines
629 B
YAML
|
distributable:
|
||
|
url: https://github.com/rrthomas/libpaper/releases/download/v{{version}}/libpaper-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
github: rrthomas/libpaper
|
||
|
build:
|
||
|
dependencies:
|
||
|
gnu.org/make: '*'
|
||
|
gnu.org/help2man: '*'
|
||
|
script:
|
||
|
- ./configure $CONFIGURE_ARGS
|
||
|
- make install
|
||
|
env:
|
||
|
CONFIGURE_ARGS:
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --libdir="{{prefix}}/lib"
|
||
|
- --sysconfdir="{{prefix}}/etc"
|
||
|
provides:
|
||
|
- bin/paper
|
||
|
test:
|
||
|
script:
|
||
|
- paper --version | grep {{version}}
|
||
|
- cc test.c -lpaper -o test
|
||
|
- ./test
|