Hello, On Sun, Feb 22, 2015 at 12:24:02AM +0100, Taylan Ulrich Bayırlı/Kammer wrote: > + (native-inputs `(("cmake" ,cmake))) > + (arguments > + '(#:phases > + (alist-delete > + 'configure > + (alist-replace > + 'build > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* '("go") > + (("^cmake ") > + (string-append "cmake -DCMAKE_INSTALL_PREFIX=" > + (assoc-ref outputs "out") " "))) > + (zero? (system* "./go"))) > + (alist-cons-before > + 'install 'chdir-to-release > + (lambda _ > + (chdir "Release")) > + %standard-phases)))
looking at the more or less trivial file "go", I think you had better use our cmake build system (and drop the explicit cmake input). I tried it and it worked: (define-public soxr (package (name "soxr") (version "0.1.1") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/soxr/soxr-" version "-Source.tar.xz")) (sha256 (base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no check target (home-page "http://sourceforge.net/p/soxr/wiki/Home/") (synopsis "One-dimensional sample-rate conversion library") (description "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate conversion. It may be used, for example, to resample PCM-encoded audio.") (license license:lgpl2.1+))) Andreas