diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-18 17:06:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-18 17:06:27 +0100 |
commit | 4be6deadf3e814bc37585cde9dc08faad2561453 (patch) | |
tree | 1e3079a08beb9cfc316ed858851592e9437d5f38 /dev-lang/polyml | |
parent | 1426dfeb15e4d49cb4238c6cf37455a6130cd83f (diff) |
gentoo auto-resync : 18:09:2023 - 17:06:27
Diffstat (limited to 'dev-lang/polyml')
-rw-r--r-- | dev-lang/polyml/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/polyml/polyml-5.9.1.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-lang/polyml/Manifest b/dev-lang/polyml/Manifest index 981434988a59..8a8e12198a57 100644 --- a/dev-lang/polyml/Manifest +++ b/dev-lang/polyml/Manifest @@ -1,5 +1,7 @@ AUX polyml-5.8.2-configure.patch 512 BLAKE2B dec4df5f79271e680d0bd1533f1dec32b6360cebb0cfeae10987e7ba5f92be961529d85471412d575bd7dddcc1a447304b5bf77d814ac54f4500913e57032f50 SHA512 c4730ee4550c0ff9eb6c8d9efbb8eb3a30d1a96a93be990a7f38f9adbc6944d51f03c449f2f8af3c8cef2c42519ce9f01df8e2b54a8a03b40f9748d09a238437 AUX polyml-5.9-c++11.patch 433 BLAKE2B bee8c1a67e7d8a6d63a076d39cdcc086e23a20b3e4579fbc20db78e14c54b90d017b84d819ab4f8b68831b8a63600e37ca919944e47bcc4120d5a6530a552d83 SHA512 399af1a93527350d610670b6369c2a54c6c54624e622882efbf027b494cdf851d7c1f07e5360ba1a326e1242a18bf15eb08ba9ee60f77a66427b12ec30863cba +DIST polyml-5.9.1.tar.gz 3887664 BLAKE2B ae10fc9c4097879fe05ab931c541cdab8a61755210e2f6b084e31a08490a762234ea32d18d9d60e3ec52407861106b1b85d0ca8a92d2bc3e97b1d14fbd57bf8e SHA512 e471abef01b7f2bfac6d847904c0fcef6ae5a1356b1246a2e8982d24fd590b49feb03752642efe09d34344b4faf89bc3edd4418e9993e72ea22e5482e6d37271 DIST polyml-5.9.tar.gz 3764115 BLAKE2B ae0ca0dcac2c1b5b54e4e4c4c7362a9ba99846ff7a1358a2332a8b887eb9c21e83851c9ecde44df3bebeef5cdfe3d4b73c09776a08cfc2db6ec70024ffedc50d SHA512 e996cbe820216e854a50ba214f2a2a0291ee3279eb35be4126b6558bc1582732a236156fb8d0f548b31fca4a496db62ece83d902b6f5e72de64507fdef602e45 EBUILD polyml-5.9-r2.ebuild 1101 BLAKE2B fbbda6b42c9f2d5619623a266bf5fff095531d81ff98c9cbb150748362d2230dfc6815b417e98e99a0fb0b8adfaac22dbfd9b8f18159379c3a2aa87e5d2774c6 SHA512 60e9a3bd8f9b359c3067ed1c094c88eb9b807f5d165ef4825563393b3c611d12d50a6f2218ba1c5f3baa6df11f057d9511f7facf82f921c05187acfba733c9f7 +EBUILD polyml-5.9.1.ebuild 1257 BLAKE2B 2fab81bcf39fe171de6b4a546a4cc2ccf60ba2bc6cf842b84725d7cdabd165285955d12ffb300152b13e60be41aa9aab1b9c4acaff7ca6a10a094a2d17d25d46 SHA512 d9ec4295001d8f4c071d6982b87b3fb155ad39b6743a0e869836afe175cbdc445bbf20f33126ae301d10a7b92c73f35ce133cdda484ab5dee0d70ece666067ee MISC metadata.xml 476 BLAKE2B 1ae157cea19be5c640cddb49ed167f4bd2f3f76b224f42ad1eec260cf4a10418e90cf0d9cd7deae8710910aa141a7dcea912533dfc3aba51b587a8babde0f1e5 SHA512 93c0da7fa36a0ff2215f22a114b995c0f3cbb8762807090203e25e011236324585dc7af1246a881cdd5d2b41b6d69a00c9965507f8b467481e65679bbf87dd59 diff --git a/dev-lang/polyml/polyml-5.9.1.ebuild b/dev-lang/polyml/polyml-5.9.1.ebuild new file mode 100644 index 000000000000..2c8ed0b90e8a --- /dev/null +++ b/dev-lang/polyml/polyml-5.9.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Poly/ML is a full implementation of Standard ML" +HOMEPAGE="https://www.polyml.org/ + https://github.com/polyml/polyml/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +IUSE="X +gmp portable" + +RDEPEND=" + dev-libs/libffi:= + X? ( x11-libs/motif:0 ) + gmp? ( >=dev-libs/gmp-5:= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-5.8.2-configure.patch + "${FILESDIR}"/${PN}-5.9-c++11.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --enable-shared + --with-pic=pic-only + $(use_enable !portable native-codegeneration) + $(use_with X x) + $(use_with gmp) + ) + econf "${myconf[@]}" +} + +src_test() { + emake tests +} + +src_install() { + default + + if [[ -f "${ED}"/usr/$(get_libdir)/libpolymain.la ]] ; then + rm "${ED}"/usr/$(get_libdir)/libpolymain.la || die + fi + + if [[ -f "${ED}"/usr/$(get_libdir)/libpolyml.la ]] ; then + rm "${ED}"/usr/$(get_libdir)/libpolyml.la || die + fi +} |