mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: ccid: Switch to meson-build-system
* gnu/packages/security-token.scm (ccid)[build-system]: Switch to meson-build-system. [arguments]<#:configure-flags>: Remove. <#:phases>: Remove ’patch-Makefile and add ’patch-data-paths. [native-inputs]: Remove autoconf, autoconf-archive, automake, pkg-config, python-wrapper and which. [inputs]: Add eudev. Change-Id: Id2b8d0773d8b1ae32a7c9cbff6e6238683de483c Modified-by: Cayetano Santos <csantosb@inventati.org> Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
parent
2e58aba425
commit
f75cd26f6b
1 changed files with 10 additions and 18 deletions
|
|
@ -114,32 +114,24 @@
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0j3xw2s44dpphdyy5bnf33s4b2y25p8igdc7lidmsrhh4afv7rp9"))))
|
||||
(build-system gnu-build-system)
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list (string-append "--enable-usbdropdir="
|
||||
#$output
|
||||
"/pcsc/drivers"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-Makefile
|
||||
(lambda _
|
||||
(substitute* "src/Makefile.am"
|
||||
(("/bin/echo") (which "echo"))))))))
|
||||
(add-after 'unpack 'patch-data-paths
|
||||
(lambda _
|
||||
(substitute* "meson.build"
|
||||
(("pcsc_dep\\.get_variable\\('usbdropdir'\\)")
|
||||
(string-append "'" #$output "/pcsc/drivers'"))
|
||||
(("udev\\.get_variable\\(pkgconfig: 'udevdir'\\)")
|
||||
(string-append "'" #$output "/lib/udev/'"))))))))
|
||||
(native-inputs
|
||||
(list autoconf
|
||||
autoconf-archive
|
||||
automake
|
||||
flex
|
||||
libtool
|
||||
(list flex
|
||||
perl
|
||||
pkg-config
|
||||
python-wrapper
|
||||
which
|
||||
pkg-config))
|
||||
(inputs
|
||||
(list libusb pcsc-lite zlib))
|
||||
(list libusb pcsc-lite eudev zlib))
|
||||
(home-page "https://ccid.apdu.fr/")
|
||||
(synopsis "PC/SC driver for USB smart card devices")
|
||||
(description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue