summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-26 15:38:16 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-26 20:44:39 +0100
commitf404fc1b36561e90aa82c9d11630c5217754cc6e (patch)
treea440c3036ed26899fe85ade22a1235bbb7b099bf
parent2aa8e8476dfa7ef0552f5d66fc2887c6e65051f1 (diff)
downloadguix-f404fc1b36561e90aa82c9d11630c5217754cc6e.tar.gz
gnu: djvulibre: Remove bundled software.
* gnu/packages/djvu.scm (djvulibre)[source]: Delete win32/ in a snippet.
-rw-r--r--gnu/packages/djvu.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 9f49bbce81..9ac17cdec8 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -58,7 +58,13 @@
                            (string-replace-substring version "." ",")
                            "/djvulibre-" version ".tar.gz"))
        (sha256
-        (base32 "0manxn1ly5n8nqamv47hz7akxi6v0rzwc9j1c3x99vngrjlr5qw2"))))
+        (base32 "0manxn1ly5n8nqamv47hz7akxi6v0rzwc9j1c3x99vngrjlr5qw2"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; This bundles software (e.g., zlib) and is entirely superfluous.
+           (delete-file-recursively "win32")
+           #t))))
     (build-system gnu-build-system)
     (native-inputs
      ;; The 3.5.28 release tarball isn't bootstrapped.