All checks were successful
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m55s
Test / ShareFS (push) Successful in 3m46s
Test / Hakurei (push) Successful in 3m57s
Test / Sandbox (race detector) (push) Successful in 5m25s
Test / Hakurei (race detector) (push) Successful in 6m29s
Test / Flake checks (push) Successful in 1m21s
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
45 lines
940 B
Go
45 lines
940 B
Go
package rosa
|
|
|
|
import (
|
|
"strings"
|
|
|
|
"hakurei.app/internal/pkg"
|
|
)
|
|
|
|
func (t Toolchain) newLibtirpc(s *S) (pkg.Artifact, string) {
|
|
const (
|
|
version = "1.3.7"
|
|
checksum = "nzFfu7LNvnSNiNAryD1vtnNWnU-Xqee8KqfXUKoBf5yjb5-dkeRkYuRijdCoYLof"
|
|
)
|
|
return s.NewPackage(t, "libtirpc", version, s.newTagRemote(t,
|
|
"git://linux-nfs.org/~steved/libtirpc",
|
|
"libtirpc-"+
|
|
strings.Join(strings.SplitN(version, ".", 3), "-"),
|
|
checksum,
|
|
), nil, &MakeHelper{
|
|
Generate: "sh -e ./bootstrap",
|
|
Configure: []KV{
|
|
{"CFLAGS", `"$(pkg-config --cflags libbsd-overlay) ${CFLAGS:-}"`},
|
|
{"disable-gssapi"},
|
|
},
|
|
},
|
|
Automake,
|
|
Libtool,
|
|
PkgConfig,
|
|
|
|
Libbsd,
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newLibtirpc,
|
|
|
|
Name: "libtirpc",
|
|
Description: "a port of Suns Transport-Independent RPC library to Linux",
|
|
Website: "https://sourceforge.net/projects/libtirpc/",
|
|
|
|
ID: 1740,
|
|
})
|
|
}
|