gnu: faust: Remove prebuilt library in snippet.

* gnu/packages/audio.scm (faust)[arguments]: Remove the phase
  'remove-prebuilt-library...
* gnu/packages/audio.scm (faust)[origin]: ...and move it here as a snippet.
This commit is contained in:
Ricardo Wurmus 2015-06-23 18:52:55 +02:00
parent 4758eaaa2d
commit 0543c32659

View File

@ -490,18 +490,17 @@ (define-public faust
"mirror://sourceforge/faudiostream/faust-" version ".zip"))
(sha256
(base32
"068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))))
"068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))
(snippet
;; Remove prebuilt library
'(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after
'unpack 'remove-prebuilt-library
(lambda _
(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so")
#t))
;; no "configure" script
(delete 'configure))))
(native-inputs
`(("unzip" ,unzip)))