guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: ldb: Delete bundled libraries from the source.


From: Marius Bakke
Subject: 02/06: gnu: ldb: Delete bundled libraries from the source.
Date: Mon, 11 Jun 2018 12:15:59 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 21a21c20da9e069122b7c90366cb33fa859e17a9
Author: Marius Bakke <address@hidden>
Date:   Thu May 31 15:46:17 2018 +0200

    gnu: ldb: Delete bundled libraries from the source.
    
    * gnu/packages/samba.scm (ldb)[source](snippet): New field.
---
 gnu/packages/samba.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 32e37a5..abbfdd8 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira 
<https://libreplanet.org/wiki/User:Adfeno> <address@hidden>
 ;;; Copyright © 2017 Thomas Danckaert <address@hidden>
-;;; Copyright © 2017 Marius Bakke <address@hidden>
+;;; Copyright © 2017, 2018 Marius Bakke <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -349,7 +349,17 @@ many event types, including timers, signals, and the 
classic file descriptor eve
                                   version ".tar.gz"))
               (sha256
                (base32
-                "1d591ny4j4s409s2afjv4fn7inqlclr0zlyclw3619rkbaixlzm8"))))
+                "1d591ny4j4s409s2afjv4fn7inqlclr0zlyclw3619rkbaixlzm8"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (for-each (lambda (file)
+                              ;; Delete everything except the build tools.
+                              (unless (or (string-prefix? "third_party/waf" 
file)
+                                          (string-suffix? "wscript" file))
+                                (delete-file file)))
+                            (find-files "third_party"))
+                  #t))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]