aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/ncurses.go
blob: be75dd145960f44e5c260309065b609d0b5de294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newNcurses() (pkg.Artifact, string) {
	const (
		version  = "6.6"
		checksum = "XvWp4xi6hR_hH8XUoGY26L_pqBSDapJYulhzZqPuR0KNklqypqNc1yNXU-nOjf5w"
	)
	return t.NewPackage("ncurses", version, newTar(
		"https://ftpmirror.gnu.org/gnu/ncurses/ncurses-"+version+".tar.gz",
		checksum,
		pkg.TarGzip,
	), nil, &MakeHelper{
		// "tests" are actual demo programs, not a test suite.
		SkipCheck: true,

		Configure: []KV{
			{"with-pkg-config"},
			{"enable-pc-files"},
			{"with-shared"},
			{"with-cxx-shared"},
		},
	},
		PkgConfig,
	), version
}
func init() {
	native.mustRegister(Toolchain.newNcurses, &Metadata{
		Name:        "ncurses",
		Description: "a free software emulation of curses in System V Release 4.0 (SVr4)",
		Website:     "https://invisible-island.net/ncurses/",

		ID: 373226,
	})
}