forked from rosa/hakurei
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
41 lines
809 B
Go
41 lines
809 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newP11Kit(s *S) (pkg.Artifact, string) {
|
|
const (
|
|
version = "0.26.2"
|
|
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"
|
|
)
|
|
return s.NewPackage(t, "p11-kit", version, s.newTagRemote(t,
|
|
"https://github.com/p11-glue/p11-kit.git",
|
|
version, checksum,
|
|
), nil, &MesonHelper{
|
|
Setup: []KV{
|
|
{"Dsystemd", "disabled"},
|
|
{"Dlibffi", "enabled"},
|
|
},
|
|
},
|
|
Coreutils,
|
|
Diffutils,
|
|
|
|
Libtasn1,
|
|
), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newP11Kit,
|
|
|
|
Name: "p11-kit",
|
|
Description: "provides a way to load and enumerate PKCS#11 modules",
|
|
Website: "https://p11-glue.freedesktop.org/p11-kit.html",
|
|
|
|
Dependencies: P{
|
|
Libffi,
|
|
Libtasn1,
|
|
},
|
|
|
|
ID: 2582,
|
|
})
|
|
}
|