guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: libtool: Add libltdl as a separate package.


From: Ludovic Courtès
Subject: 02/05: gnu: libtool: Add libltdl as a separate package.
Date: Wed, 07 Jan 2015 15:53:07 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit 3cbb3f9c55290ba151df3d3bbb78c83cef7cf6c0
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jan 6 23:12:05 2015 +0100

    gnu: libtool: Add libltdl as a separate package.
    
    * gnu/packages/autotools.scm (libltdl): New variable.
---
 gnu/packages/autotools.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 4723d27..eb33009 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -310,3 +310,26 @@ complexity of working with shared libraries across 
platforms.")
          `(#:tests? #f
            ,@(package-arguments libtool))
          (package-arguments libtool)))))
+
+(define-public libltdl
+  ;; This is a libltdl package separate from the libtool package.  This is
+  ;; useful because, unlike libtool, it has zero extra dependencies (making it
+  ;; readily usable during bootstrap), and it builds very quickly since
+  ;; Libtool's extensive test suite isn't run.
+  (package
+    (name "libltdl")
+    (version (package-version libtool))
+    (source (package-source libtool))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--enable-ltdl-install") ;really install it
+       #:phases (alist-cons-before
+                 'configure 'change-directory
+                 (lambda _
+                   (chdir "libltdl"))
+                 %standard-phases)))
+
+    (synopsis "System-independent dlopen wrapper of GNU libtool")
+    (description (package-description libtool))
+    (home-page (package-home-page libtool))
+    (license lgpl2.1+)))



reply via email to

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