mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
add pcsc-lite
(#4133)
* +pcsc-lite * rename and fix version matcher * clean up and explicit version * remove broken comment * add `flex` * libudev * pod2man * darwin --disable-libsystemd --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
6e81ec6f46
commit
2b8ed46ab5
41
projects/pcsclite.apdu.fr/package.yml
Normal file
41
projects/pcsclite.apdu.fr/package.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
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
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --disable-dependency-tracking
|
||||||
|
- --disable-silent-rules
|
||||||
|
- --prefix={{ prefix }}
|
||||||
|
- --sysconfdir=/etc
|
||||||
|
darwin:
|
||||||
|
ARGS:
|
||||||
|
- --disable-libsystemd
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/pcscd
|
||||||
|
|
||||||
|
test: pcscd --version
|
Loading…
Reference in a new issue