diff options
| author | Nikita Karetnikov <nikita@karetnikov.org> | 2012-11-22 00:10:21 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-22 22:30:50 +0100 |
| commit | 80ffc7082c52fb5cbf89ea7cf8d5da3b6ff5fd0b (patch) | |
| tree | b2f3ddf1ff3c6d10f3e47c9f85b7e2293935c004 /distro | |
| parent | e2b2c46693896bfc715afa2ff6f5f34ba73158aa (diff) | |
distro: Add GNU Autoconf and GNU Automake.
* distro/packages/autotools.scm: New file.
* Makefile.am (MODULES): Add it.
Diffstat (limited to 'distro')
| -rw-r--r-- | distro/packages/autotools.scm | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/distro/packages/autotools.scm b/distro/packages/autotools.scm new file mode 100644 index 00000000000..55b052bbaed --- /dev/null +++ b/distro/packages/autotools.scm | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- | ||
| 2 | ;;; Copyright (C) 2012 Nikita Karetnikov <nikita@karetnikov.org> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is part of Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; Guix is free software; you can redistribute it and/or modify it | ||
| 7 | ;;; under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 9 | ;;; your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; Guix is distributed in the hope that it will be useful, but | ||
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | (define-module (distro packages autotools) | ||
| 20 | #:use-module (distro packages perl) | ||
| 21 | #:use-module (distro packages m4) | ||
| 22 | #:use-module (guix packages) | ||
| 23 | #:use-module (guix download) | ||
| 24 | #:use-module (guix build-system gnu)) | ||
| 25 | |||
| 26 | (define-public autoconf | ||
| 27 | (package | ||
| 28 | (name "autoconf") | ||
| 29 | (version "2.69") | ||
| 30 | (source | ||
| 31 | (origin | ||
| 32 | (method url-fetch) | ||
| 33 | (uri (string-append "mirror://gnu/autoconf/autoconf-" | ||
| 34 | version ".tar.xz")) | ||
| 35 | (sha256 | ||
| 36 | (base32 | ||
| 37 | "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4")))) | ||
| 38 | (build-system gnu-build-system) | ||
| 39 | (inputs | ||
| 40 | `(("perl" ,perl) | ||
| 41 | ("m4" ,m4))) | ||
| 42 | ;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It | ||
| 43 | ;; should use our own "cpp" instead of "/lib/cpp". | ||
| 44 | (arguments `(#:tests? #f)) | ||
| 45 | (home-page | ||
| 46 | "http://www.gnu.org/software/autoconf/") | ||
| 47 | (synopsis | ||
| 48 | "GNU Autoconf, a part of the GNU Build System") | ||
| 49 | (description | ||
| 50 | "GNU Autoconf is an extensible package of M4 macros that produce | ||
| 51 | shell scripts to automatically configure software source code | ||
| 52 | packages. These scripts can adapt the packages to many kinds of | ||
| 53 | UNIX-like systems without manual user intervention. Autoconf | ||
| 54 | creates a configuration script for a package from a template | ||
| 55 | file that lists the operating system features that the package | ||
| 56 | can use, in the form of M4 macro calls.") | ||
| 57 | (license "GPLv3+"))) ; some files are under GPLv2+ | ||
| 58 | |||
| 59 | (define-public automake | ||
| 60 | (package | ||
| 61 | (name "automake") | ||
| 62 | (version "1.12.5") | ||
| 63 | (source | ||
| 64 | (origin | ||
| 65 | (method url-fetch) | ||
| 66 | (uri (string-append "mirror://gnu/automake/automake-" | ||
| 67 | version ".tar.xz")) | ||
| 68 | (sha256 | ||
| 69 | (base32 | ||
| 70 | "1k4pa3rmj626n5d39rc9041dc71lv8nzd341k53dw07iflkwinim")))) | ||
| 71 | (build-system gnu-build-system) | ||
| 72 | (inputs | ||
| 73 | `(("autoconf" ,autoconf) | ||
| 74 | ("perl" ,perl))) | ||
| 75 | (home-page | ||
| 76 | "http://www.gnu.org/software/automake/") | ||
| 77 | (synopsis | ||
| 78 | "GNU Automake, a GNU standard-compliant makefile generator") | ||
| 79 | (description | ||
| 80 | "GNU Automake is a tool for automatically generating | ||
| 81 | `Makefile.in' files compliant with the GNU Coding | ||
| 82 | Standards. Automake requires the use of Autoconf.") | ||
| 83 | (license "GPLv2+"))) ; some files are under GPLv3+ | ||
