diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-08-05 17:45:17 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-08-05 18:53:01 +0200 |
commit | c393f57cf89bc0f2e8fe78f36d63ff51fe068308 (patch) | |
tree | 0a536409abc260e72d2272bc19e903082eba0fec /dev-lang/smlnj | |
parent | dev-ml/utop: drop old 2.9.2 (diff) | |
download | gentoo-c393f57cf89bc0f2e8fe78f36d63ff51fe068308.tar.gz gentoo-c393f57cf89bc0f2e8fe78f36d63ff51fe068308.tar.bz2 gentoo-c393f57cf89bc0f2e8fe78f36d63ff51fe068308.zip |
dev-lang/smlnj: bump to 110.99.4
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r-- | dev-lang/smlnj/Manifest | 26 | ||||
-rw-r--r-- | dev-lang/smlnj/smlnj-110.99.4.ebuild | 151 |
2 files changed, 177 insertions, 0 deletions
diff --git a/dev-lang/smlnj/Manifest b/dev-lang/smlnj/Manifest index c5a96a899560..cebd0158857e 100644 --- a/dev-lang/smlnj/Manifest +++ b/dev-lang/smlnj/Manifest @@ -24,3 +24,29 @@ DIST smlnj-110.99.3-smlnj-c.tgz 10591 BLAKE2B 1dd6646e64157ee31dbd04a0d7d485012a DIST smlnj-110.99.3-smlnj-lib.tgz 641512 BLAKE2B 1904fc25ae19f8a62669e8ad81272702df3871b04a8ee82e3526d5cbec15835d17fb9ebc710fa7cad5634a9485b5ae9534cb9015e96fae4c19d8a51bcb57b77e SHA512 e711cee0974a7357c0ecac7e38a8bda1db43da7a5262f5878994aab4df604245ccf70510ed7d1a7ff62cc184399ebe08c4a30fb83a881c95c77ed6179d411151 DIST smlnj-110.99.3-system.tgz 283393 BLAKE2B 9fbb815ee69269ed962899a8374d5669adde670f1846c2137958fb945bc29ac52ae60a1e7393d6fe5479b037641f53bd938555c483683f4f8532c22a44073224 SHA512 90c84826cbc86ebe43cd8bb4bd8aff6ddae67c05c1d263f0528720ceb6291bdc6ef3d51ea117cea86d5af8412a43f4dc3422eae6c1de4442139e4d366398d3ae DIST smlnj-110.99.3-trace-debug-profile.tgz 3890 BLAKE2B 53bc19a0b805bde85527fec711e088e5805420ed969347075f1876ebbc0d13a54a9d5b444da9541fbccdd0e48444ce663806f08ed35095d63d87382dab020f32 SHA512 0fedf4d291823f279caf57695826b61da07cecbc1a10cf259a8faf4352e2631dc3d64f8442bf57c9df0c4a39150f37ab95995c4498b3a6700bd125fd2d8d6c15 +DIST smlnj-110.99.4-MLRISC.tgz 1457408 BLAKE2B 6d01d0a994ded4167e7429ac4d7a7184197a76b454c7270de8c0887a1a38fffc13db7c1ec23a2e26c3ee765de590cb9483ff74ef944ff71a6ed45dfab9b4c268 SHA512 8ab2d36b0f46824060c87080ea1d450de869db48a768772d4725ca2a7c807451ee675554d5440517960fe41d5f64ceb3a8368c97f667b2bbd83d03195666d64e +DIST smlnj-110.99.4-asdl.tgz 241360 BLAKE2B 3fb88f1a44487bff643bf6d011c234cb27c31c220c8ea929b57f72ebd50c1df4da15444617e5a7adaa9f814b0aec4bf3995aad9871f9c808b4bb86df7dbd106d SHA512 9926bb97ac12b595907e2a86ffd4b208e2283275fabc3383b9a4942b99ec0daf5beaec2781072b21d1fefa2331ae99fc9a1cdbf6daf247714a495fe86c4bba2a +DIST smlnj-110.99.4-boot.amd64-unix.tgz 5974915 BLAKE2B 81e88ecc65455ce29147130b9b848ba95e64cec184ca3c04020766eeff3bf17b4c8937d105d71748155e71cc5ae1e59a8630b9547123aa554674eba4d8f6b148 SHA512 f3a3baf0c725b590def75d5ba8bc71a46230f26f47cd921ebaf45912954d3ec47abf068c20a2719ce6b5db07b9160d6d75997e0e967073b0585bc415b92c859a +DIST smlnj-110.99.4-boot.ppc-unix.tgz 5846611 BLAKE2B 9c4dc931135bad8be0a78c4131e0809b2394a16c0a329bfa1cbe2827bc7a19ee8efe375733694439886ba04d9213da6eef4aaee263888070288cba707cd74ce5 SHA512 2c1d569101439d027d0b5d602655eede72baae7359d0870e5d818bb03c627d88896d0b1bc8dc0b3ef9a6d25949ed76084fdd3c4df613e5107aa3e62f651c93ac +DIST smlnj-110.99.4-boot.sparc-unix.tgz 5987747 BLAKE2B 30f1d35767a642b6d0873dbc3735d9a124d2500b9594f3a61a89688a63f3de7d5e0cdf6bf61a73a683b74ec31f4b62a904c29ad6f2c1c8fc00aa5cd4cae7e7c5 SHA512 6885819a923abce5c90bf9903aa73652020b581f42f1664cd21c79045ef6e6dc0cc014b597c26c4d216519ea0ab4c477db52f94f54199c259c0ba01cce94ae60 +DIST smlnj-110.99.4-boot.x86-unix.tgz 5928155 BLAKE2B 689bedd368396fcf5fef27c109e43bd32a3042fda9d9cfb85905639973a6a41fcdd5829903d79745a62de9fd47ddb89a91b838a4f96e6bc26f5e2c8959b6df5c SHA512 e39a7b80ceb35f4ea2d2ceb8e300f21da1dce54d34f2ff2c174a942621856ab92bdb60194d5a75194b8414abf54d7962a88fe9f04df34843f75bcf59eca43087 +DIST smlnj-110.99.4-ckit.tgz 200781 BLAKE2B f1562b39a7c3560aa6907ec7358beedc033c6be75d0cb6a48ceef0a4c1c59ab8dbc8585a107415e0fcff40fc20c1943f4ba0533bc05e11078a26e089ea793512 SHA512 6a80409659382ae8744acc0ec323a499cf4719414cb90298064c193b20d74c6a8aed22bf6b0debcbfbed33394012ab3cf4f9037a129151c357df7d9cec56bcde +DIST smlnj-110.99.4-cm.tgz 220303 BLAKE2B fa3fdd023d999e723b588e8edc14f5a92e6393691646b55208e23197d1a13be098a392c77bfc867c52ae2085cd08e818dcfc44096c8d4613eeaca57f7d142a56 SHA512 1826ea9414758d9990d2cc683c86d044ef0cdd6f5fd605f4074a50e25d552994edfe3dba5e18825f689ef60de9560a2b503edd5ed3f5cec19bbd88c34ca28e5b +DIST smlnj-110.99.4-cml.tgz 103974 BLAKE2B 48151b69fc020250656389c0b073bc75fd3673f21272bafd466aa966cadc3ba21f7f4de1677a4a6979b213ac5aff5bb354657516b014f9bc998a2d72d99c0e15 SHA512 a71f7be7b5a43ea2456a13d231310eee5ae16eff777271bda2fffc9f30d3916481c176c015b8e855f2c41cef5cab90d59351425659eace3bbd9e5a396c91857a +DIST smlnj-110.99.4-compiler.tgz 856681 BLAKE2B fb073628cdadc800d4dd8d1ef66c54fe500d1aa46e38005d37702f3c7381cdaf8bdf11839f319f9f1c9a7de09d832440cb525effe90b9d603889b5bb6fa189f4 SHA512 eabb38b35fd46a2c9ef66464754d3c470f635bdc395e83a57637191e1ad81881410a55afccb78b3baedee6c944e07844085f243a03d9274708c05f0680450c8e +DIST smlnj-110.99.4-config.tgz 23360 BLAKE2B e53f3fdd61047cdb14b1cf41f2a9d7aaf024c5ac7189b592dde1ce9bb1a3b851da10e736dcbce00c3c31719f32a169343b973fd6618ee16ee9c398000b019b3c SHA512 13ddc3f48fd532fca58fe4f9c975737726ecfc128ee592f6662b3419f8f21a69362a1ad3bc04f397f9a223dca1ebe7ecee4c31c026f6761f20ec3214ae08c883 +DIST smlnj-110.99.4-doc.tgz 2511006 BLAKE2B fb1830081bdcc59ec9b96d3d8d4408e5a89f55885b62971eb3e6025cfc133ce9d3640d8323852cd247708fa54a33dc3c1e7037d3c0129a0d047adf4697f474e4 SHA512 af4cdb5007efdc1c1b856e5d5a975494354e47c66109e0f3d3740abb81cce8948145b42501a3043dd504075ff3b0ead28e0ae4d0504a0dafd705b75c002eb1e9 +DIST smlnj-110.99.4-eXene.tgz 714479 BLAKE2B e43613b52c80c017e95c7be69a8e3424249701a094be9696016d22cdb0a91010c30bbe6acc132b05844f089d7565c085768feb64c98cae64b1b0427bbe9862dc SHA512 b0ec47155aa81a97cdc8429ec44c197fd20363f5448150cceb88f0698341fe8da25f8fab0e46c7aa8dfdee2bbb0af42078b9e7364248d5bd6afb174b379e12ff +DIST smlnj-110.99.4-heap2asm.tgz 1763 BLAKE2B 94ac3d22e1de9e17877f48b0f01cb0a0ae35ba5b1fe706ac05be57dff990d2d6910ddd24ed7897a8409cfb5510cc5f6844c0fef81ef352c4ec947151fdc1355e SHA512 ff086979240e6081b939da400f7790f8a9a0eb36185f997574565f47740d9f673ff8d178fc165002851e746b835e58ba0b29a0a8ebfdff7f81511b1b86c6a774 +DIST smlnj-110.99.4-ml-burg.tgz 40359 BLAKE2B 7cdae677c454a5cfde6f914e974bce7b632a1028aaad36d8e8afaa48f07a0b9a787142ecf0c58a22c769ff5dc7a6b37c028bbb409e455fd4a45d756e70811ab0 SHA512 ed7361609ebaa55135896c6fa433672ab0385ca5965757d9b94ee02e05def0c13e22eedbf1662d6faa4203d9051727fd9a20e97fee9961a98fb4c47d621c4a6b +DIST smlnj-110.99.4-ml-lex.tgz 28037 BLAKE2B 26c5fbfb845288db2d60961565cc374f56d739fe16dcfb39b091452d6ba7c01c70772d57bf7252cb9aba44ee152dcf67e92e8fae1350f7b6a023b9a47d311472 SHA512 394d4963af0ae6e5858103d7a97d3c7036246c17e2fe59447cd2f14acb3c8cfed26ec1ebfd96d46526e4afb2a8f8ce9c48f3a55e776def649fb6330c59b98670 +DIST smlnj-110.99.4-ml-lpt.tgz 267314 BLAKE2B 7a2640d7dcec0303fabf8323a8e1939ff743dd057757fb712bc09c6aa5f8466752b1eed715a5568c445bcb36dd44a965424a260ef6f210c452ba59c62420244d SHA512 9e2508b66a1134060325b95d32eb527c6c81f4fac57c7916cfded861fa15335487a3adabbe78402de59c0c78e78b9ab216d82db8319e04f3cc1cbfabd051a0e8 +DIST smlnj-110.99.4-ml-yacc.tgz 101365 BLAKE2B 12efc1b8673a51566915d78ddfeed31e69494dcf88464d3231cedb2d4f811b86025ba7d535fb2f605b9cabef8e6a466691803f8bf7daa8a52ae5fae4b118f4a3 SHA512 af1298f2d8401071d73b49a17f5aa23823cb5bcab5601d60c2c5ce841722e4ab623f84838524ce428a88066b05951b64e10981f97628da8b66ec6f3031b68fe4 +DIST smlnj-110.99.4-nlffi.tgz 74821 BLAKE2B ae5d170784cc604216f9abc1d2a996002cbef333525cce5ee94a0053a3a65f62d415d9abc0b74f0337fae7dc120a6278a223872a1b39f2b22a6f931f044da57b SHA512 9a5ae94f407651b4e342a803d3f857fd2eb62a577a23113aa7e69646a16250e992bd92c60208add10b48036a8beeff7b96cc97ac6a15cdee8e93b138b0950255 +DIST smlnj-110.99.4-old-basis.tgz 1363 BLAKE2B 984e4c888ee83907f179aef23f89299417b87dc7611abf357d20e78ce8a8411589db5cb9aa04b9f2c7ab883c301aa8eb7fdad7dd276c71f12bf5edbddd35a945 SHA512 ceeaab53cc9f88a2a0096a71cabe66e20fa0b16c2d5d189da87444fa512f9c74d96773071d78d760d45df2950cbc2726c35eb5f0f1e500493dcc77bb8f01277d +DIST smlnj-110.99.4-pgraph.tgz 5368 BLAKE2B 2c8d5101807506c151c97e51ad11d7abe2ad4897cf766d23535e4abf830d76ec67684169e1347e46b98a2aa1518d399e75d1342b4caa2121f00c1dc2a3fa309b SHA512 0d51518c88a53c945a37d6bcf9678159811197b558c02ec529dd0d8a389466c3780ec1a58dabacbb7d46872f989f724866fd4ba6d0d30d608ca09d1a853adebc +DIST smlnj-110.99.4-runtime.tgz 334322 BLAKE2B 61dae19bfa0f48533b9def27e971566032bdbc01ba54d5300643a668e5be86e2064aefcc93c31e074cd9fa04e1af719b3c5aa98529dc8f17629d704e3a1e712b SHA512 0406c4a55fecade5c47457c5cf4245a3a81d04214953066b846023cb863b27401121422b04d423905ceeecd9cdac238309d9b4967a396a05f13b35343e56bb51 +DIST smlnj-110.99.4-smlnj-c.tgz 10589 BLAKE2B df85102595bfdb492ee1a8967f4fc322b7d9366a579731a7984512d9ea24f4a06db2b51d96c168daa34b9d90f81bf3e4e771c590298833e059652b3732af8482 SHA512 ebe714a2cf18e0b0763e1819ddc83fbc3250ee49d386b4bbb5d5d653e92ed01d83aac0aaa89aace8d451fc0c681c82cfc725817e909fa16fd27b341067ec4b3d +DIST smlnj-110.99.4-smlnj-lib.tgz 645485 BLAKE2B a1adc247c82dde766a34026a2cef77b4b89cc80f52b4a949173910d30aae2a8a28dc716691c7248d145791c81c27aae75f9b5a91cdcdd3397f1f944255c50c60 SHA512 ac32ed428de0512534445991ae02755170d61dfaa3d4ae5234b437edb7ed6cf9e72e94bfe8edbfd40e5bc7f7a18a97d90a42f5b4f8cbfac2b66cff1b8b6318fc +DIST smlnj-110.99.4-system.tgz 282951 BLAKE2B 61ecb598b2daeefcd62ff8214579ecf30434368fb3b3d75edc2b701170ed9719b9f1bc8114c440ab3582329e5e965b3d1fc4287be0226707766bfc796db49fcf SHA512 35b5c2c1e27745c4f366d655768cbb5fd08953f58906751d49e6a4b5d19dd13bb0e1003e7dac5990dc121c81fc3ecab242a367ef43a02a2728ff3de9d2f0ad1b +DIST smlnj-110.99.4-trace-debug-profile.tgz 3891 BLAKE2B 81cec5f57efc4345a287b5a0b5d93ee96271c2494feb06df3c4583bf23e6079322e9f93e0092469a233954ab145e7e6d56b821bf8bffb85c8d92338ad0fd7163 SHA512 db8c147d65b6211fdff71171a2b517726502e742c7ae48e4bb326decaaeba8ab5abfefd192cc7381182dc266d26a81d2792635821256c7ed7ff7652e9f6fbd41 diff --git a/dev-lang/smlnj/smlnj-110.99.4.ebuild b/dev-lang/smlnj/smlnj-110.99.4.ebuild new file mode 100644 index 000000000000..8b5e2ab139ba --- /dev/null +++ b/dev-lang/smlnj/smlnj-110.99.4.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Standard ML of New Jersey compiler and libraries" +HOMEPAGE="http://www.smlnj.org" + +BASE_URI="http://smlnj.cs.uchicago.edu/dist/working/${PV}" + +SRC_FILES=" +doc.tgz + +config.tgz + +asdl.tgz +cm.tgz +compiler.tgz +runtime.tgz +system.tgz +MLRISC.tgz +smlnj-lib.tgz +old-basis.tgz + +ckit.tgz +nlffi.tgz + +cml.tgz +eXene.tgz + +ml-lpt.tgz +ml-lex.tgz +ml-yacc.tgz +ml-burg.tgz + +pgraph.tgz +trace-debug-profile.tgz + +heap2asm.tgz + +smlnj-c.tgz +" + +SRC_URI=" + amd64? ( ${BASE_URI}/boot.amd64-unix.tgz -> ${P}-boot.amd64-unix.tgz ) + ppc? ( ${BASE_URI}/boot.ppc-unix.tgz -> ${P}-boot.ppc-unix.tgz ) + sparc? ( ${BASE_URI}/boot.sparc-unix.tgz -> ${P}-boot.sparc-unix.tgz ) + x86? ( ${BASE_URI}/boot.x86-unix.tgz -> ${P}-boot.x86-unix.tgz ) +" + +for file in ${SRC_FILES} ; do + SRC_URI+=" ${BASE_URI}/${file} -> ${P}-${file} " +done + +S="${WORKDIR}" + +LICENSE="BSD" +SLOT="0" + +# sparc support should be there but is untested +KEYWORDS="~amd64 ~ppc ~x86" + +src_unpack() { + mkdir -p "${S}" || die + local file + for file in ${A} ; do + if [[ ${file} != ${P}-config.tgz ]] ; then + cp "${DISTDIR}/${file}" "${S}/${file#${P}-}" || die + fi + done + + # make sure we don't use the internet to download anything + unpack ${P}-config.tgz + rm config/*.bat || die + echo SRCARCHIVEURL=\"file:/${S}\" > "${S}"/config/srcarchiveurl + + mkdir base || die # without this unpacking runtime will fail + ./config/unpack "${S}" runtime || die + + # Unpack asdl to fix autoconf linker check + unpack "${S}"/asdl.tgz +} + +src_prepare() { + default + + # respect CC et al. (bug 243886) + sed -e "/^AS/s|as|$(tc-getAS)|" \ + -e "/^CC/s|gcc|$(tc-getCC)|" \ + -e "/^CPP/s|gcc|$(tc-getCC)|" \ + -e "/^CFLAGS/{s|-O[0123s]|| ; s|=|= ${CFLAGS}|}" \ + -i base/runtime/objs/mk.* || die + sed -e "/^AS/s|as|$(tc-getAS)|" \ + -e "/^AR/s|ar|$(tc-getAR)|" \ + -e "/^CC/s|cc|$(tc-getCC)|" \ + -e "/^CPP/s|/lib/cpp|$(tc-getCPP)|" \ + -e "/^RANLIB/s|ranlib|$(tc-getRANLIB)|" \ + -i base/runtime/objs/makefile || die + + sed -i "s|nm |$(tc-getNM) |g" config/chk-global-names.sh || die + sed -i "/^AC_PATH_PROG/s|\[ld\]|\[$(tc-getLD)\]|" asdl/configure.ac || die +} + +src_compile() { + local config_opts=( ) + use amd64 && config_opts+=( "-default 64" ) # force 64-bit build for amd64 + + SMLNJ_HOME="${S}" ./config/install.sh ${config_opts[@]} || + die "compilation failed" +} + +src_install() { + local DIR=/usr/$(get_libdir)/${PN} + local i + + local file + for file in bin/{*,.*} ; do + [[ -f ${file} ]] && + sed -e "2iSMLNJ_HOME=${EPREFIX}/${DIR}" \ + -e "s|${WORKDIR}|${EPREFIX}/${DIR}|" \ + -i ${file} + done + + newbin ./config/_heap2exec heap2exec + exeinto ${DIR}/bin + pushd bin || die + for i in {*,.*} ; do + [[ -f ${i} ]] && doexe ${i} + done + for i in ml-* sml ; do + dosym ../../${DIR}/bin/${i} /usr/bin/${i} + done + popd || die + + exeinto ${DIR}/bin/.run + pushd bin/.run || die + for i in run* ; do + doexe ${i} + done + popd || die + + insinto ${DIR}/bin/.heap + doins bin/.heap/* + + insinto ${DIR} + doins -r lib + doman doc/man/man*/*.* + dodoc -r doc/* +} |