forked from rosa/hakurei
32 lines
723 B
Go
32 lines
723 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibxml2() (pkg.Artifact, string) {
|
|
const (
|
|
version = "2.15.3"
|
|
checksum = "oWkNe53c3d4Lt4OzrXPHBcOLHJ3TWqpa0x7B7bh_DyZ-uIMiplpdZjQRgRWVal2h"
|
|
)
|
|
return t.NewPackage("libxml2", version, t.newTagRemote(
|
|
"https://gitlab.gnome.org/GNOME/libxml2.git",
|
|
"v"+version, checksum,
|
|
), &PackageAttr{
|
|
// can't create shell.out: Read-only file system
|
|
Writable: true,
|
|
}, (*MesonHelper)(nil),
|
|
Git,
|
|
Diffutils,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Libxml2] = Metadata{
|
|
f: Toolchain.newLibxml2,
|
|
|
|
Name: "libxml2",
|
|
Description: "an XML toolkit implemented in C",
|
|
Website: "https://gitlab.gnome.org/GNOME/libxml2/",
|
|
|
|
ID: 1783,
|
|
}
|
|
}
|