gnu: rtmidi: Remove custom bootstrap phase.

* gnu/packages/audio.scm (rtmidi)[arguments]: Remove autoconf phase.
This commit is contained in:
Ricardo Wurmus 2018-11-10 23:36:05 +01:00
parent cdb4048d72
commit 7db147ec45
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 15 additions and 19 deletions

View File

@ -2285,25 +2285,21 @@ tempo and pitch of an audio recording independently of one another.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;no "check" target `(#:tests? #f ;no "check" target
#:phases (modify-phases %standard-phases #:phases
(add-after (modify-phases %standard-phases
'unpack 'autoconf (add-before 'build 'fix-makefile
(lambda _ (invoke "autoreconf" "-vfi"))) (lambda _
(add-before (substitute* "Makefile"
'build 'fix-makefile (("/bin/ln") "ln")
(lambda _ (("RtMidi.h RtError.h") "RtMidi.h"))
(substitute* "Makefile" #t))
(("/bin/ln") "ln") (add-before 'install 'make-target-dirs
(("RtMidi.h RtError.h") "RtMidi.h")) (lambda _
#t)) (let ((out (assoc-ref %outputs "out")))
(add-before (mkdir-p (string-append out "/bin"))
'install 'make-target-dirs (mkdir (string-append out "/lib"))
(lambda _ (mkdir (string-append out "/include")))
(let ((out (assoc-ref %outputs "out"))) #t)))))
(mkdir-p (string-append out "/bin"))
(mkdir (string-append out "/lib"))
(mkdir (string-append out "/include")))
#t)))))
(inputs (inputs
`(("jack" ,jack-1) `(("jack" ,jack-1)
("alsa-lib" ,alsa-lib))) ("alsa-lib" ,alsa-lib)))