summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2023-10-16 22:36:20 +0900
committerAkinori Hattori <hattya@gentoo.org>2023-10-16 22:37:59 +0900
commitf0b5860f1184e5543c684c362b9381ab86043436 (patch)
tree5e6f1f410711dc09983499368b4e25cb1f848661 /dev-scheme/gauche
parentapp-containers/lxd: add missing nftables dependency (diff)
downloadgentoo-f0b5860f1184e5543c684c362b9381ab86043436.tar.gz
gentoo-f0b5860f1184e5543c684c362b9381ab86043436.tar.bz2
gentoo-f0b5860f1184e5543c684c362b9381ab86043436.zip
dev-scheme/gauche: new upstream release
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/gauche')
-rw-r--r--dev-scheme/gauche/Manifest1
-rw-r--r--dev-scheme/gauche/gauche-0.9.13.ebuild59
-rw-r--r--dev-scheme/gauche/metadata.xml1
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-scheme/gauche/Manifest b/dev-scheme/gauche/Manifest
index 77e4345ba2ef..9857b9de0902 100644
--- a/dev-scheme/gauche/Manifest
+++ b/dev-scheme/gauche/Manifest
@@ -1 +1,2 @@
DIST Gauche-0.9.12.tgz 7972379 BLAKE2B c7ed885f00d8b91ae166b92d7f3a2c0bcdcaa2e4f07d623d4c5b9a7edd5b14ea4846983e474be495533e1d083d787fa8844b9147032bab094e28a940c3eddb70 SHA512 cbce8e3312aa75c3b908f0755cf07fbf0ac29278afa0afdae2f7c2df3b30b94a069aada8f6acc0550a18c8c42b95f2dbc7e8b38a5426f6260ac61de8eb1d145e
+DIST Gauche-0.9.13.tgz 9389117 BLAKE2B dd2039971d4460d5841272927872cea5cb29992c51468882b26374234bd246cb7a202e7e5f71c0733abad0d18da527e51b3ee46c3836b3862f36d8eec42f7a9f SHA512 f593775d41055599e7b3e281df0b1efcb284a1ce3e2a36a53a609c98f57ca1f2d99246d8b0585c4606839e611cfb4e42ed4d23506617976af375ae39489678d3
diff --git a/dev-scheme/gauche/gauche-0.9.13.ebuild b/dev-scheme/gauche/gauche-0.9.13.ebuild
new file mode 100644
index 000000000000..3547eead54b3
--- /dev/null
+++ b/dev-scheme/gauche/gauche-0.9.13.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit autotools
+
+MY_P="${P^g}"
+MY_P="${MY_P/_p/-p}"
+
+DESCRIPTION="A Unix system friendly Scheme Interpreter"
+HOMEPAGE="http://practical-scheme.net/gauche/"
+SRC_URI="https://github.com/shirok/${PN^g}/releases/download/release${PV//./_}/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1-2)8"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="ipv6 +mbedtls test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-libs/gdbm
+ virtual/libcrypt:=
+ mbedtls? ( net-libs/mbedtls:= )"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/openssl:0 )"
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-ext-ldflags.patch
+ "${FILESDIR}"/${PN}-gauche.m4.patch
+ "${FILESDIR}"/${PN}-info.patch
+ "${FILESDIR}"/${PN}-rfc.tls.patch
+ "${FILESDIR}"/${PN}-xz-info.patch
+)
+DOCS=( AUTHORS ChangeLog HACKING.adoc README.adoc )
+
+src_prepare() {
+ default
+ use ipv6 && sed -i "s/ -4//" ext/tls/ssltest-mod.scm
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ --with-ca-bundle="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
+ --with-slib="${EPREFIX}"/usr/share/slib \
+ --with-tls=$(usex mbedtls mbedtls axtls)
+}
+
+src_test() {
+ emake -j1 -s check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install-pkg install-doc
+ einstalldocs
+}
diff --git a/dev-scheme/gauche/metadata.xml b/dev-scheme/gauche/metadata.xml
index 81a5029b6f35..ef4e7e89245f 100644
--- a/dev-scheme/gauche/metadata.xml
+++ b/dev-scheme/gauche/metadata.xml
@@ -21,6 +21,7 @@
<flag name="mbedtls">Enable support for <pkg>net-libs/mbedtls</pkg></flag>
</use>
<upstream>
+ <remote-id type="github">shirok/Gauche</remote-id>
<remote-id type="sourceforge">gauche</remote-id>
</upstream>
</pkgmetadata>