mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-lang/hare: Fix snapshot
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -1 +1 @@
|
|||||||
DIST hare-0_pre20220624.tar.gz 671399 BLAKE2B 4ef1d2724219367ce6ffdcf69b5c9f5bd573ddf19a12c0aafa695483c05ef2032961ea714058af9bcfecfcbb45f0ca9bfd3056dc0b388f001f4ddb8a96873233 SHA512 9e8b4b17e293f0bc23cc3913860055d62dae0d0fc700080b2bde76a65c5344bf09e5a51c92f799e9c000bd18550fe10b9a5cd6e38c52ffe7c3faca8a670188ee
|
DIST hare-0_pre20220730.tar.gz 681268 BLAKE2B e91bb4e0d87adb8271a1f9a30b744e3874482f38d0d370c6abd446456c960e088d1ff717793c4fa5876461397792c7ec66478bc327e11ba22b372f0ee714a5c4 SHA512 d7c07188e0416e68c5314f40d1dbffa27cd03644784aecb14a29a88d4ad6bc37e310cc8df95dbf93a96eebf2e262638d0ed0c0d98bce22d7c9630984418ce437
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="The Hare systems programming language"
|
|
||||||
HOMEPAGE="https://harelang.org/"
|
|
||||||
EGIT_COMMIT="65449ddbbbf39659bfaf84a2cb78510409a4ab7a"
|
|
||||||
SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
|
||||||
LICENSE="MPL-2.0 GPL-3"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
sys-devel/qbe
|
|
||||||
dev-lang/harec
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
app-text/scdoc
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
git-r3_src_unpack
|
|
||||||
mkdir "${WORKDIR}/${P}/build" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cp config.example.mk config.mk || die
|
|
||||||
sed -i -e 's;^PREFIX=.*;PREFIX=/usr;' config.mk || die
|
|
||||||
}
|
|
||||||
40
dev-lang/hare/hare-0_pre20220730.ebuild
Normal file
40
dev-lang/hare/hare-0_pre20220730.ebuild
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 2021-2022 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"
|
||||||
|
SLOT="0"
|
||||||
|
else
|
||||||
|
EGIT_COMMIT="296925c91d79362d6b8ac94e0336a38e9af0f1c9"
|
||||||
|
SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="The Hare systems programming language"
|
||||||
|
HOMEPAGE="https://harelang.org/"
|
||||||
|
LICENSE="MPL-2.0 GPL-3"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
sys-devel/qbe
|
||||||
|
>=dev-lang/harec-0_pre20220702
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
app-text/scdoc
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cp config.example.mk config.mk || die
|
||||||
|
sed -i \
|
||||||
|
-e 's;^PREFIX=.*;PREFIX=/usr;' \
|
||||||
|
-e 's;^AS =;AS ?=;' \
|
||||||
|
-e 's;^LD =;LD ?=;' \
|
||||||
|
-e 's;^AR =;AR ?=;' \
|
||||||
|
config.mk || die
|
||||||
|
}
|
||||||
@@ -1,32 +1,40 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit git-r3
|
if [[ "${PV}" = 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
|
||||||
|
SLOT="0"
|
||||||
|
else
|
||||||
|
EGIT_COMMIT="296925c91d79362d6b8ac94e0336a38e9af0f1c9"
|
||||||
|
SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||||
|
fi
|
||||||
|
|
||||||
DESCRIPTION="The Hare systems programming language"
|
DESCRIPTION="The Hare systems programming language"
|
||||||
HOMEPAGE="https://harelang.org/"
|
HOMEPAGE="https://harelang.org/"
|
||||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
|
|
||||||
LICENSE="MPL-2.0 GPL-3"
|
LICENSE="MPL-2.0 GPL-3"
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
sys-devel/qbe
|
sys-devel/qbe
|
||||||
dev-lang/harec
|
>=dev-lang/harec-0_pre20220702
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
app-text/scdoc
|
app-text/scdoc
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
git-r3_src_unpack
|
|
||||||
mkdir "${WORKDIR}/${P}/build" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
cp config.example.mk config.mk || die
|
cp config.example.mk config.mk || die
|
||||||
sed -i -e 's;^PREFIX=.*;PREFIX=/usr;' config.mk || die
|
sed -i \
|
||||||
|
-e 's;^PREFIX=.*;PREFIX=/usr;' \
|
||||||
|
-e 's;^AS =;AS ?=;' \
|
||||||
|
-e 's;^LD =;LD ?=;' \
|
||||||
|
-e 's;^AR =;AR ?=;' \
|
||||||
|
config.mk || die
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user