diff options
Diffstat (limited to 'internal/rosa/gnu.go')
| -rw-r--r-- | internal/rosa/gnu.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go index 874fbae4..ed127b09 100644 --- a/internal/rosa/gnu.go +++ b/internal/rosa/gnu.go @@ -99,6 +99,26 @@ test_disable '#!/bin/sh' t/pr9.sh } func init() { artifactsF[Automake] = Toolchain.newAutomake } +func (t Toolchain) newLibtool() pkg.Artifact { + const ( + version = "2.5.4" + checksum = "pa6LSrQggh8mSJHQfwGjysAApmZlGJt8wif2cCLzqAAa2jpsTY0jZ-6stS3BWZ2Q" + ) + return t.NewViaMake("libtool", version, pkg.NewHTTPGetTar( + nil, "https://ftpmirror.gnu.org/gnu/libtool/libtool-"+version+".tar.gz", + mustDecode(checksum), + pkg.TarGzip, + ), &MakeAttr{ + Env: []string{ + "TESTSUITEFLAGS=" + strconv.Itoa(runtime.NumCPU()), + }, + }, + t.Load(M4), + t.Load(Diffutils), + ) +} +func init() { artifactsF[Libtool] = Toolchain.newLibtool } + func (t Toolchain) newGzip() pkg.Artifact { const ( version = "1.14" |
