Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/autotools/SPKG.txt
8817 views
1
= autotools =
2
3
== Description ==
4
5
This package contains a recent version of Texinfo, GNU m4, and help2man.
6
It contains the git repository of autoconf, automake and libtool.
7
8
For the latter 3 packages (commonly referred to as "autotools"),
9
many different versions are installed, by checking out the versions
10
from the git repo and building/installing them separately. Since the
11
complete git repository is shipped in the spkg, this does not require
12
internet access.
13
14
For Texinfo, m4 and help2man, just one version is installed. These are
15
prerequisites for autotools. Moreover, Texinfo is often needed for
16
bootstrapping packages. Even though m4 is already a prerequisite of
17
Sage, autoconf requires an up-to-date version of GNU m4.
18
19
The package makes wrapper scripts in $SAGE_LOCAL/bin for the various
20
autotools, which call the "correct" version. This means that, if a file
21
"configure" already exists in the current directory, the same autoconf
22
version is run which created the original file. Otherwise, the latest
23
version is run. The goal of all this is to make it easier to patch
24
configure.ac or Makefile.am files inside a spkg. By using the same
25
version of autotools as originally used, the patch files should be
26
relatively small. The environment variables AUTOCONF_VERSION,
27
AUTOMAKE_VERSION and LIBTOOL_VERSION can be used to override the
28
chosen version.
29
30
== License ==
31
32
GNU General Public License version 3 or later.
33
34
== SPKG Maintainers ==
35
36
* Jeroen Demeyer
37
38
== Upstream Contact ==
39
40
* http://www.gnu.org/software/texinfo/
41
* http://www.gnu.org/software/m4/
42
* http://www.gnu.org/software/help2man/
43
* http://www.gnu.org/software/autoconf/
44
* http://www.gnu.org/software/automake/
45
* http://www.gnu.org/software/libtool/
46
47
== Dependencies ==
48
49
To install the package:
50
* Perl
51
* Git
52
53
To update the package:
54
* Sage with autotools package installed
55
* Internet access
56
57
== Special Update/Build Instructions ==
58
59
The file spkg-src can be used to automatically create the upstream
60
tarball from the git repositories. This obviously requires internet
61
access.
62
63
The file version-list defines the list of versions installed by this
64
spkg. If you edit this, you must update Makefile.build using the
65
spkg-write-makefile script. After optionally updating the git repos
66
using spkg-src, you need to run
67
./spkg-write-makefile >Makefile.build
68
This must be run in a Sage shell, with the the autotools spkg
69
installed.
70
71