pantry/projects/fukuchi.org/qrencode/package.yml
Jacob Heider 65ad700870
rename(qrencode)
should have caught this
2023-02-14 19:35:37 -05:00

31 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