mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-scheme/chibi: correct chibi version; 0.10 -> 0.10.0
Closes: https://bugs.gentoo.org/858245 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
35a465bcdc
commit
03d8db4bcc
@ -1 +1 @@
|
||||
DIST chibi-0.10.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648
|
||||
DIST chibi-0.10.0.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648
|
||||
|
||||
@ -1,20 +1,25 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN=${PN}-scheme
|
||||
MY_PV=0.10 # Release "0.10.0" tagged as "0.10"
|
||||
MY_P=${MY_PN}-${MY_PV}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Minimal Scheme implementation for use as an extension language"
|
||||
HOMEPAGE="http://synthcode.com/scheme/chibi/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ashinn/${PN}-scheme.git"
|
||||
EGIT_REPO_URI="https://github.com/ashinn/${MY_PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/ashinn/${PN}-scheme/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/ashinn/${MY_PN}/archive/${MY_PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${PN}-scheme-${PV}"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
@ -27,12 +32,12 @@ src_configure() {
|
||||
export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
# if ldconfig (stored in LDCONFIG variable) exists it is ran
|
||||
# If "ldconfig" exists it is ran, overwrite it with "LDCONFIG" variable.
|
||||
export LDCONFIG="0"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dosym chibi-scheme /usr/bin/chibi
|
||||
dosym ${MY_PN} /usr/bin/${PN}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user