diff options
Diffstat (limited to 'dev-scheme/gauche')
-rw-r--r-- | dev-scheme/gauche/Manifest | 2 | ||||
-rw-r--r-- | dev-scheme/gauche/gauche-0.9.12.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-scheme/gauche/Manifest b/dev-scheme/gauche/Manifest index f1440f114cd8..3acd8642e7bf 100644 --- a/dev-scheme/gauche/Manifest +++ b/dev-scheme/gauche/Manifest @@ -4,5 +4,7 @@ AUX gauche-info.patch 3633 BLAKE2B 70f3be628d369acca97524370cb66c08e24390434c1b8 AUX gauche-rfc.tls.patch 277 BLAKE2B 91e745207e64ba3c83a1252be6fa63c486a3ebf148149b5772720a862299fa9bbf122a75ed8a537a29b78d75cf785ccc72de3194969931c62b52a7c1b7007208 SHA512 6aceaf321a1593765c91a83b14e057b2ee514e768299fa43c71bbe5f04b8b60a0537fd68cb8b4b5a61b091d5c4f50dc227bde2637d6be33956089dc0e40ab968 AUX gauche-xz-info.patch 1248 BLAKE2B 8c87339d3739da774da858f43345bb6063fe2fafdfda3e791a67aee7773be4c1312c11aa37f1532203a7e1d4805cf3fa0ec80ce28f52d05c43df8536efa199a2 SHA512 7cbbfc17ef28aaa29dffe03d2d8afa01cc92897f5c08c9ba1ddd7926d45207100a44ccb8efd745f2f98c8d9a83ca0ca20a6c611329c3a80dea5692002467c52b DIST Gauche-0.9.11-p1.tgz 8104827 BLAKE2B 5c35ced6f64296e294804add967045b8e5aca817b65648f7c6708c774b1c1e218676517f86c3d8c8eb11d983e0a6b396ed00de1f95ecdc5a4dd5eee157f58bea SHA512 51be78d7f9bb62987e76c9867006c367ecb27eaf444f022d93bb92010e51ffb6b922cfc39aaab51cc9edbc94d7f7bb21e021705abb1a8fabd0bdbc52d4c92ee8 +DIST Gauche-0.9.12.tgz 7972379 BLAKE2B c7ed885f00d8b91ae166b92d7f3a2c0bcdcaa2e4f07d623d4c5b9a7edd5b14ea4846983e474be495533e1d083d787fa8844b9147032bab094e28a940c3eddb70 SHA512 cbce8e3312aa75c3b908f0755cf07fbf0ac29278afa0afdae2f7c2df3b30b94a069aada8f6acc0550a18c8c42b95f2dbc7e8b38a5426f6260ac61de8eb1d145e EBUILD gauche-0.9.11_p1.ebuild 1378 BLAKE2B 07c17672f10a0af960f396f0b37424d39e05bab0b98581c0674ba8fa1d02a4a6d4ec51618b60edfc86fe8db2447ffc596d7e85fd0a67c5facba27bb122a6bc19 SHA512 77a772dbb8185b76c467153c4d8e40e349283e4eec3fe412337a98164e3e90624d55732ed6d33de560d37603956f5974f56b8b6f81b1854d36fe82eadb33f3aa +EBUILD gauche-0.9.12.ebuild 1348 BLAKE2B 151f63881a1c2f7a4f274c71ae51d086f1606915eef29458558830ad6f3093390188e3224278452b1ec1683026aff06c07479ef80475abc87816b37d6fa80688 SHA512 cea9f3bb06b20f7a200abc69597a2c51981b56a65a25993a9d1f78e26adaa8b2db1cd84cfd5c223343f82098afc034ceb216254a963794cbef0f55ceeaa12b5b MISC metadata.xml 910 BLAKE2B e521ff4a434554441bb94b2c2246a02f5f1d976b77cde7fd8f8364108cb6c000c794f8413d636b8b13bbb89ec03b3042d3ccb0599a25c6894aef4e5282544c50 SHA512 6a3d126f858bd4b8eb9cf2475fb5d25f9f23c5caf62406941ef3646a5b36c7c8143f83d8dfabb6aa36abd2cce31e65a11a5451ec2f33964c3d51662e09bd37a0 diff --git a/dev-scheme/gauche/gauche-0.9.12.ebuild b/dev-scheme/gauche/gauche-0.9.12.ebuild new file mode 100644 index 000000000000..aeb0d9e8f34b --- /dev/null +++ b/dev-scheme/gauche/gauche-0.9.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 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 + + eautoconf +} + +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 +} |