All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m46s
Test / Hakurei (push) Successful in 3m45s
Test / ShareFS (push) Successful in 3m59s
Test / Hpkg (push) Successful in 4m29s
Test / Sandbox (race detector) (push) Successful in 5m4s
Test / Hakurei (race detector) (push) Successful in 5m58s
Test / Flake checks (push) Successful in 1m43s
Generally pretty useful, and required by util-linux test suite. Signed-off-by: Ophestra <cat@gensokyo.uk>
38 lines
819 B
Go
38 lines
819 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newProcps() pkg.Artifact {
|
|
const (
|
|
version = "4.0.6"
|
|
checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM"
|
|
)
|
|
return t.NewViaMake("procps", version, t.NewPatchedSource(
|
|
"procps", version, pkg.NewHTTPGetTar(
|
|
nil, "https://gitlab.com/procps-ng/procps/-/archive/"+
|
|
"v"+version+"/procps-v"+version+".tar.bz2",
|
|
mustDecode(checksum),
|
|
pkg.TarBzip2,
|
|
), false,
|
|
), &MakeAttr{
|
|
Writable: true,
|
|
ScriptEarly: `
|
|
cd /usr/src/procps
|
|
./autogen.sh
|
|
`,
|
|
Configure: [][2]string{
|
|
{"without-ncurses"},
|
|
},
|
|
},
|
|
t.Load(M4),
|
|
t.Load(Perl),
|
|
t.Load(Autoconf),
|
|
t.Load(Automake),
|
|
t.Load(Gettext),
|
|
t.Load(Libtool),
|
|
t.Load(Gzip),
|
|
t.Load(PkgConfig),
|
|
)
|
|
}
|
|
func init() { artifactsF[Procps] = Toolchain.newProcps }
|