mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -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"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "libs/Makefile"
|
||||
(("ldconfig") "true")))))
|
||||
"1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(alist-cons-after
|
||||
'unpack
|
||||
'enter-directory
|
||||
(lambda _ (chdir "libs"))
|
||||
'unpack 'patch-makefile-and-enter-directory
|
||||
(lambda _
|
||||
(substitute* "libs/Makefile"
|
||||
(("ldconfig") "true")
|
||||
(("^LIBDIR =.*") "LIBDIR = lib\n"))
|
||||
(chdir "libs")
|
||||
#t)
|
||||
(alist-cons-after
|
||||
'install
|
||||
'install-symlink
|
||||
|
|
Loading…
Reference in a new issue