pantry/projects/pcsclite.apdu.fr/package.yml
Markus Zoppelt 61dc17776d
add yubikey-agent (#4324)
* add `yubikey-agent`

* fix pcsc; go mod download; test

* pie on linux

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-12-06 13:13:32 -05:00

49 lines
937 B
YAML

distributable:
url: https://pcsclite.apdu.fr/files/pcsc-lite-{{ version }}.tar.bz2
strip-components: 1
ref: v{{version}}}
display-name: pcsc-lite
versions:
url: https://pcsclite.apdu.fr/files/
match: /pcsc-lite-\d+(\.\d+)+\.tar/
strip:
- /pcsc-lite-/
- /\.tar/
dependencies:
libusb.info: ^1
linux:
systemd.io: ^254 # libudev
build:
dependencies:
cmake.org: ^3
github.com/westes/flex: '*'
perl.org: ^5 # pod2man
script:
- ./configure $ARGS
- make install
- run: |
mv PCSC/* .
rmdir PCSC
ln -s . PCSC
working-directory: ${{ prefix }}/include
env:
ARGS:
- --disable-dependency-tracking
- --disable-silent-rules
- --prefix={{ prefix }}
- --sysconfdir=/etc
# TODO: freedesktop.org/polkit
- --disable-polkit
darwin:
ARGS:
- --disable-libsystemd
provides:
- bin/pcscd
test: pcscd --version