dev-hare/hare-xml - 9999 (guru)

Search

Install

Install this version:

emerge -a =dev-hare/hare-xml-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-hare/hare-xml-9999

Or alternatively:

emerge --autounmask-write -a =dev-hare/hare-xml-9999

Package Information

Description:
XML support for Hare
Homepage:
https://git.sr.ht/~sircmpwn/hare-xml
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm64 ~riscv 0/9999
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ "${PV}" = 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-xml"
	SLOT="0"
else
	EGIT_COMMIT="82ad30e1143286417b12b00d45ee1a03330f117e"
	SRC_URI="https://git.sr.ht/~sircmpwn/hare-xml/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz"
	S="${WORKDIR}/${PN}-${EGIT_COMMIT}/"
	SLOT="0/${PV}"

	KEYWORDS="~amd64 ~arm64 ~riscv"
fi

DESCRIPTION="XML support for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-xml"

LICENSE="MPL-2.0"

DEPEND=">=dev-lang/hare-9999"
RDEPEND="${DEPEND}"

src_prepare() {
	default

	sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-lang/hare-9999

RDEPEND

>=dev-lang/hare-9999