summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-11 17:56:25 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-11 18:41:27 +0200
commitea87ca192386235a983155834eecf7cd8fb0bde9 (patch)
treea04852c512fdda40ac66883fe8c45b1a55868647 /dev-lang
parentdev-lang/eisl: drop old 2.98 (diff)
downloadgentoo-ea87ca192386235a983155834eecf7cd8fb0bde9.tar.gz
gentoo-ea87ca192386235a983155834eecf7cd8fb0bde9.tar.bz2
gentoo-ea87ca192386235a983155834eecf7cd8fb0bde9.zip
dev-lang/eisl: bump to 3.40
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/eisl/Manifest1
-rw-r--r--dev-lang/eisl/eisl-3.40.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-lang/eisl/Manifest b/dev-lang/eisl/Manifest
index 52d90a1eb278..766dc66bdff0 100644
--- a/dev-lang/eisl/Manifest
+++ b/dev-lang/eisl/Manifest
@@ -1,3 +1,4 @@
DIST eisl-3.03.tar.gz 2146686 BLAKE2B 540e51007ad0db3271c13e4bf8804f1d555a8baea19da3f66075a57abe77d71560c6d634eded1c86cda054327c01415a46e36fd67ea233553745ad49100dbd8c SHA512 b800073db94a394ef131db38744197b7273eb64a0125e4ccfb982de618a0f5ec5d031e632acb74efbb678bf200ae4e9b81bd5dce24ed4ba02764aa97d86ec878
DIST eisl-3.24.tar.gz 2155062 BLAKE2B 16e94d0b318db01152f67fdfaca863ddd385d533e01d54d3a540d9410cb85ab0f04256010c5d08b9197090856f128cb3a88682170edb0e1ce7346e01f7de9472 SHA512 6a725360ab6e87d67abc028ded74e80ae5d535a4a359cee965ec1017b67e59fc6c93739075fd82dc95046f59f515c910737685075a0ef6f347a4582af8d1efbe
DIST eisl-3.30.tar.gz 2170799 BLAKE2B 123cdf6074f8f9170dc02e1f935e1d06a83cd3e2228e05b051776e7067369ab75cfa5afba8643424bee980c1ab6ca2c3314a1440074c6ddaba39ced5bc0b8fcd SHA512 4d44534f3120c9e2051c223326e528a051af087d0750ef2bcb15eb1e762b0e25769d3dbc3d04f2064053e0e4b6ec675918ffeef4a8fa4f4c72a3846524200904
+DIST eisl-3.40.tar.gz 2287448 BLAKE2B 10b9f6b74a313f0ecb724c09d5ade3ee81b6aa4b1f2c426a8c399a46ebca15e58e4666d9bbd5f72ab6a24b194e12b11a635a88066299577de956d20376aaa8e7 SHA512 30313b9660b2eb2500b498abeb82f0bcd660c720488dda981d87e2221eec3dd1d306740993bf2f321ca8e66cb47841ca9d8a7fc83dfc6551cd271c7ffab8af25
diff --git a/dev-lang/eisl/eisl-3.40.ebuild b/dev-lang/eisl/eisl-3.40.ebuild
new file mode 100644
index 000000000000..987db06ada03
--- /dev/null
+++ b/dev-lang/eisl/eisl-3.40.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Interpreter and compiler compatible with the ISLisp standard"
+HOMEPAGE="https://github.com/sasagawa888/eisl/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/sasagawa888/${PN}.git"
+else
+ SRC_URI="https://github.com/sasagawa888/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+RESTRICT="test" # Tests run cppcheck (and fail)
+
+DOCS=( README{,-ja}.md documents )
+
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.85-Makefile.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)" clean edlis eisl
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe edlis eisl
+
+ # Compilation of ISLisp files on installation fails.
+ # Do not compile them and mimic "make install".
+ insinto /usr/share/${PN}
+ doins -r library
+ doins fast.h ffi.h
+
+ einstalldocs
+}