aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libev.go
blob: b4c7fe8a58de7a2a6a164ec7c32c5aabef6a69e5 (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
package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newLibev() (pkg.Artifact, string) {
	const (
		version  = "4.33"
		checksum = "774eSXV_4k8PySRprUDChbEwsw-kzjIFnJ3MpNOl5zDpamBRvC3BqPyRxvkwcL6_"
	)
	return t.NewPackage("libev", version, pkg.NewHTTPGetTar(
		nil, "https://dist.schmorp.de/libev/Attic/libev-"+version+".tar.gz",
		mustDecode(checksum),
		pkg.TarGzip,
	), nil, (*MakeHelper)(nil)), version
}
func init() {
	artifactsM[Libev] = Metadata{
		f: Toolchain.newLibev,

		Name:        "libev",
		Description: "a full-featured and high-performance event loop",
		Website:     "http://libev.schmorp.de/",

		ID: 1605,
	}
}