mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.
* gnu/packages/engineering.scm (kicad)[arguments]: <phases>: Remove install-lib-3d. <configure-flags>: Add "-DCMAKE_INSTALL_LIBDIR".
This commit is contained in:
parent
0e1a3e7a1e
commit
6a7e81c8a2
1 changed files with 2 additions and 8 deletions
|
@ -693,6 +693,8 @@ (define-public kicad
|
|||
(string-take commit 7))
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DKICAD_SKIP_BOOST=ON"; Use our system's boost library.
|
||||
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
||||
(assoc-ref %outputs "out") "/lib")
|
||||
"-DKICAD_SCRIPTING=ON"
|
||||
"-DKICAD_SCRIPTING_MODULES=ON"
|
||||
"-DKICAD_SCRIPTING_WXPYTHON=ON"
|
||||
|
@ -721,14 +723,6 @@ (define-public kicad
|
|||
`("PYTHONPATH" ":" prefix (,path))
|
||||
`("PATH" ":" prefix
|
||||
(,(string-append python "/bin:")))))
|
||||
#t))
|
||||
(add-after 'wrap-program 'install-lib-3d
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(for-each
|
||||
(lambda (file)
|
||||
(install-file file (string-append (assoc-ref outputs "out")
|
||||
"/lib")))
|
||||
(find-files "." "^libkicad_3dsg.*"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("boost" ,boost)
|
||||
|
|
Loading…
Reference in a new issue