mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: zita-alsa-pcmi: Move snippet to build phase and set LIBDIR.
* gnu/packages/audio.scm (zita-alsa-pcmi): Move snippet to build phase and set LIBDIR.
This commit is contained in:
parent
feae339537
commit
9569dfc856
1 changed files with 8 additions and 8 deletions
|
@ -1157,20 +1157,20 @@ (define-public zita-alsa-pcmi
|
||||||
version ".tar.bz2"))
|
version ".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))
|
"1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
'(substitute* "libs/Makefile"
|
|
||||||
(("ldconfig") "true")))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no "check" target
|
`(#:tests? #f ; no "check" target
|
||||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(alist-cons-after
|
(alist-cons-after
|
||||||
'unpack
|
'unpack 'patch-makefile-and-enter-directory
|
||||||
'enter-directory
|
(lambda _
|
||||||
(lambda _ (chdir "libs"))
|
(substitute* "libs/Makefile"
|
||||||
|
(("ldconfig") "true")
|
||||||
|
(("^LIBDIR =.*") "LIBDIR = lib\n"))
|
||||||
|
(chdir "libs")
|
||||||
|
#t)
|
||||||
(alist-cons-after
|
(alist-cons-after
|
||||||
'install
|
'install
|
||||||
'install-symlink
|
'install-symlink
|
||||||
|
|
Loading…
Reference in a new issue