diff options
-rw-r--r-- | dev-scheme/chibi/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/chibi/chibi-0.11.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-scheme/chibi/Manifest b/dev-scheme/chibi/Manifest index 7fb92c8af0ad..ac5d43470476 100644 --- a/dev-scheme/chibi/Manifest +++ b/dev-scheme/chibi/Manifest @@ -1 +1,2 @@ DIST chibi-0.10.0.tar.gz 1148573 BLAKE2B 1435d5734bfc44b6d6ddafdb339eea659345eea0db0e9b227830d7a6b6b14d3655af10906e43b6f8abd7eb2b90596fcb5dcc024abd2cba123a184f66ffcd0961 SHA512 348c20468e3b3b084ed25d38860f1afdecfb06ad9ff9ceb178c36930c14aa66a78f48b881a8eda28a30498662e7c722938212ea77b1cea89834d1a4377f0f648 +DIST chibi-0.11.0.tar.gz 1228817 BLAKE2B aac54db3a323078323284e4d3e08f49637f4932d895801871a0d62e18b975bf7855c5db86985dfaf806696cd432160cae3dcde19fa63387c50842c73edf27b38 SHA512 00b56266398212a97603527ad1e4e56ac2a80ecdf0c13c5c41fe495a7af601bba3f00b7d36016284e76ab3d18e2c51bdb19a84523a158f50cec232ca950ac25d diff --git a/dev-scheme/chibi/chibi-0.11.0.ebuild b/dev-scheme/chibi/chibi-0.11.0.ebuild new file mode 100644 index 000000000000..40985662f005 --- /dev/null +++ b/dev-scheme/chibi/chibi-0.11.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +REAL_PN="${PN}-scheme" +REAL_PV="$(ver_cut 1-2)" +REAL_P="${REAL_PN}-${REAL_PV}" + +inherit toolchain-funcs + +DESCRIPTION="Minimal Scheme implementation for use as an extension language" +HOMEPAGE="http://synthcode.com/scheme/chibi/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/ashinn/${REAL_PN}.git" +else + SRC_URI="https://github.com/ashinn/${REAL_PN}/archive/${REAL_PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${REAL_P}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +src_configure() { + tc-export CC + + export PREFIX="${EPREFIX}/usr" + export LIBDIR="${EPREFIX}/usr/$(get_libdir)" + export SOLIBDIR="${EPREFIX}/usr/$(get_libdir)" + + # If "ldconfig" exists it is ran, overwrite it with "LDCONFIG" variable. + export LDCONFIG="0" +} + +src_install() { + default + + dosym "${REAL_PN}" "/usr/bin/${PN}" +} |