summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-06-23 18:52:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-06-23 21:41:42 +0200
commit0543c32659e344f3abbbc0793e595332192e7546 (patch)
treeb8bf718c2966f35348119e0cf0ed219a433767a8 /gnu
parent4758eaaa2d30695dd52399df8701bbce25c45a4a (diff)
downloadguix-0543c32659e344f3abbbc0793e595332192e7546.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6dd4bd7ffe..583e593309 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -490,18 +490,17 @@ PS, and DAB+.")
                     "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)))