gnu: rtl-sdr: Fix location of udev rules file.

* gnu/packages/radio.scm (rtl-sdr)[arguments]: Modify 'fix-paths' phase to put
  the udev rules file in 'lib/' instead of 'etc/'.
This commit is contained in:
Guillaume Le Vaillant 2020-05-08 09:01:14 +02:00
parent 44585a0e9f
commit 503447ad4e
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -131,10 +131,10 @@ (define-public rtl-sdr
(add-after 'unpack 'fix-paths
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "CMakeLists.txt"
(("DESTINATION \"/etc/")
(("DESTINATION \"/etc/udev/")
(string-append "DESTINATION \""
(assoc-ref outputs "out")
"/etc/")))
"/lib/udev/")))
#t)))))
(home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr")
(synopsis "Software defined radio driver for Realtek RTL2832U")