internal/rosa: procps artifact
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
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>
This commit is contained in:
@@ -65,6 +65,7 @@ const (
|
|||||||
Perl
|
Perl
|
||||||
PkgConfig
|
PkgConfig
|
||||||
Pluggy
|
Pluggy
|
||||||
|
Procps
|
||||||
PyTest
|
PyTest
|
||||||
Pygments
|
Pygments
|
||||||
Python
|
Python
|
||||||
@@ -176,6 +177,7 @@ func ResolveName(name string) (p PArtifact, ok bool) {
|
|||||||
"perl": Perl,
|
"perl": Perl,
|
||||||
"pkg-config": PkgConfig,
|
"pkg-config": PkgConfig,
|
||||||
"pluggy": Pluggy,
|
"pluggy": Pluggy,
|
||||||
|
"procps": Procps,
|
||||||
"pytest": PyTest,
|
"pytest": PyTest,
|
||||||
"pygments": Pygments,
|
"pygments": Pygments,
|
||||||
"python": Python,
|
"python": Python,
|
||||||
|
|||||||
37
internal/rosa/procps.go
Normal file
37
internal/rosa/procps.go
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
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 }
|
||||||
Reference in New Issue
Block a user