package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newProcps() (pkg.Artifact, string) {
	const (
		version  = "4.0.6"
		checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM"
	)
	return t.NewPackage("procps", version, newFromGitLab(
		"gitlab.com",
		"procps-ng/procps",
		"v"+version,
		checksum,
	), nil, &MakeHelper{
		Generate: "./autogen.sh",
		Configure: []KV{
			{"without-ncurses"},
		},
	},
		Automake,
		Gettext,
		Libtool,

		Gzip,
		PkgConfig,
	), version
}
func init() {
	artifactsM[Procps] = Metadata{
		f: Toolchain.newProcps,

		Name:        "procps",
		Description: "command line and full screen utilities for browsing procfs",
		Website:     "https://gitlab.com/procps-ng/procps",

		ID: 3708,
	}
}
