[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/31: gnu: Add config.
From: |
guix-commits |
Subject: |
10/31: gnu: Add config. |
Date: |
Thu, 14 Jan 2021 10:12:53 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 58f26b717e651a04f8826a2708c2818d24b3f797
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 3 00:20:39 2021 -0500
gnu: Add config.
* gnu/packages/autotools.scm (config): New variable.
---
gnu/packages/autotools.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 4db7f56..304b500 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,6 +39,7 @@
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (ice-9 match)
@@ -499,6 +501,53 @@ complexity of working with shared libraries across
platforms.")
(license gpl3+)
(home-page "https://www.gnu.org/software/libtool/")))
+(define-public config
+ (let ((revision "1")
+ (commit "c8ddc8472f8efcadafc1ef53ca1d863415fddd5f"))
+ (package
+ (name "config")
+ (version (git-version "0.0.0" revision commit)) ;no release tag
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/config.git/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0x6ycvkmmhhhag97wsf0pw8n5fvh12rjvrck90rz17my4ys16qwv"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda _
+ (substitute* "testsuite/config-guess.sh"
+ (("#!/bin/sh")
+ (string-append "#!" (which "sh"))))
+ #t))
+ (replace 'build
+ (lambda _
+ (invoke "make" "manpages")))
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man1 (string-append out "/share/man/man1")))
+ (install-file "config.guess" bin)
+ (install-file "config.sub" bin)
+ (install-file "doc/config.guess.1" man1)
+ (install-file "doc/config.sub.1" man1)
+ #t))))))
+ (native-inputs
+ `(("help2man" ,help2man)))
+ (home-page "https://savannah.gnu.org/projects/config")
+ (synopsis "Ubiquitious config.guess and config.sub scripts")
+ (description "The `config.guess' script tries to guess a canonical
system triple,
+and `config.sub' validates and canonicalizes. These are used as part of
+configuration in nearly all GNU packages (and many others).")
+ (license gpl2+))))
+
(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
- branch core-updates updated (b5ccc6c -> 92fd897), guix-commits, 2021/01/14
- 02/31: gnu: opensp: Add doc output, enable tests and add search path., guix-commits, 2021/01/14
- 04/31: gnu: Add iso-8879-entities., guix-commits, 2021/01/14
- 06/31: gnu: Add docbook-dsssl., guix-commits, 2021/01/14
- 07/31: gnu: Add perl-sgmls., guix-commits, 2021/01/14
- 01/31: gnu: opensp: Move package to (gnu packages xml)., guix-commits, 2021/01/14
- 10/31: gnu: Add config.,
guix-commits <=
- 03/31: gnu: Add openjade., guix-commits, 2021/01/14
- 05/31: gnu: Add docbook-sgml., guix-commits, 2021/01/14
- 13/31: gnu: texlive-fonts-stmaryrd: Rename to texlive-stmaryrd., guix-commits, 2021/01/14
- 12/31: gnu: texlive-latex-wasysym: Rename to texlive-wasysym., guix-commits, 2021/01/14
- 21/31: gnu: texlive-wasysym: Update synopsis and description., guix-commits, 2021/01/14
- 19/31: gnu: texlive-stmaryrd: Actually include the fonts., guix-commits, 2021/01/14
- 14/31: gnu: texlive-latex-oberdiek: Rename to texlive-oberdiek., guix-commits, 2021/01/14
- 17/31: gnu: Add texlive-courier., guix-commits, 2021/01/14
- 20/31: gnu: Add texlive-wasy., guix-commits, 2021/01/14
- 18/31: gnu: Add texlive-helvetic., guix-commits, 2021/01/14