mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+qrencode (#393)
* wip * wip * wip * wip * wip * wip * wip * maybe this fixes intel macs? * maybe this? * maybe this? yikes https://github.com/Qalculate/libqalculate/issues/2#issuecomment-230708780 * jesus david, get it together * remove make line
This commit is contained in:
parent
8a81d33387
commit
07bfc4488b
1 changed files with 31 additions and 0 deletions
31
projects/github.com/fukuchi/package.yml
Normal file
31
projects/github.com/fukuchi/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
Loading…
Reference in a new issue