package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newMuslObstack() (pkg.Artifact, string) {
	const (
		version  = "1.2.3"
		checksum = "tVRY_KjIlkkMszcaRlkKdBVQHIXTT_T_TiMxbwErlILXrOBosocg8KklppZhNdCG"
	)
	return t.NewPackage("musl-obstack", version, newFromGitHub(
		"void-linux/musl-obstack",
		"v"+version,
		checksum,
	), &PackageAttr{
		Env: []string{
			"CC=cc -fPIC",
		},
	}, &MakeHelper{
		Generate: "./bootstrap.sh",
	},
		Automake,
		Libtool,
		PkgConfig,
	), version
}
func init() {
	artifactsM[MuslObstack] = Metadata{
		f: Toolchain.newMuslObstack,

		Name:        "musl-obstack",
		Description: "obstack functions and macros separated from glibc",
		Website:     "https://github.com/void-linux/musl-obstack",

		ID: 146206,
	}
}
