gnu: xlsxio: Remove ad hoc 'install phase.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sun, 16 Oct 2022 00:00:00 +0000 (02:00 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 16 Oct 2022 00:00:01 +0000 (02:00 +0200)
* gnu/packages/xml.scm (xlsxio)[arguments]: Use #:make-flags instead
of an ad hoc 'install phase.

gnu/packages/xml.scm

index 855d2b3..584acd2 100644 (file)
@@ -1532,15 +1532,12 @@ SAX2 APIs.")
     (build-system gnu-build-system)
     (arguments
      (list
+      #:make-flags
+      #~(list (string-append "PREFIX=" #$output))
       #:phases
       #~(modify-phases %standard-phases
           (delete 'configure)
-          (delete 'check)
-          (replace 'install
-            (lambda* (#:key outputs #:allow-other-keys)
-              (invoke "make" "install"
-                      (string-append
-                       "PREFIX=" (assoc-ref outputs "out"))))))))
+          (delete 'check))))
     (synopsis "C library for reading and writing .xlsx files")
     (description "XLSX I/O aims to provide a C library for reading and writing
 .xlsx files.  The .xlsx file format is the native format used by Microsoft(R)