mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
35 lines
844 B
YAML
35 lines
844 B
YAML
|
distributable:
|
||
|
url: https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-{{version}}/pkcs11-helper-{{version}}.tar.bz2
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: OpenSC/pkcs11-helper
|
||
|
strip: /^pkcs11-helper-/
|
||
|
|
||
|
dependencies:
|
||
|
openssl.org: ^3.1.0
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
gnu.org/autoconf: '*'
|
||
|
gnu.org/automake: '*'
|
||
|
gnu.org/libtool: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script: |
|
||
|
autoreconf --verbose --install --force
|
||
|
./configure $ARGS
|
||
|
make --jobs {{ hw.concurrency }} install
|
||
|
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script: |
|
||
|
pkg-config --modversion libpkcs11-helper-{{version.major}} | grep {{version}}
|
||
|
cc ./test.c -lpkcs11-helper -o test
|
||
|
./test
|