diff --git a/projects/github.com/fukuchi/package.yml b/projects/github.com/fukuchi/package.yml new file mode 100644 index 00000000..866d6ef0 --- /dev/null +++ b/projects/github.com/fukuchi/package.yml @@ -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