mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
32 lines
694 B
YAML
32 lines
694 B
YAML
|
distributable:
|
||
|
url: https://github.com/fukuchi/libqrencode/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: fukuchi/libqrencode/tags
|
||
|
strip: /v/
|
||
|
|
||
|
provides:
|
||
|
- bin/qrencode
|
||
|
|
||
|
dependencies:
|
||
|
libpng.org: '*'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
gnu.org/autoconf: '*'
|
||
|
gnu.org/automake: '*'
|
||
|
gnu.org/coreutils: '*'
|
||
|
gnu.org/libtool: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script: |
|
||
|
./autogen.sh
|
||
|
./configure --disable-dependency-tracking --prefix={{prefix}} $ARGS
|
||
|
echo '#define VERSION "{{version}}"' >> config.h
|
||
|
make --jobs {{ hw.concurrency }} install
|
||
|
|
||
|
test: |
|
||
|
qrencode 123456789 -o test.png
|