diff options
Diffstat (limited to 'dev-lang/jimtcl')
-rw-r--r-- | dev-lang/jimtcl/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/jimtcl/jimtcl-0.81.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest index 7ee00bb6582c..678d0ec5d1ff 100644 --- a/dev-lang/jimtcl/Manifest +++ b/dev-lang/jimtcl/Manifest @@ -1,4 +1,6 @@ AUX jimtcl-0.78-no-bootstrap.patch 1370 BLAKE2B 1f584727970d7103a183b9099818bafb9a94aa7634463bb47387b4aa0afa330d477a15c50c19f383575251677d42a27d5cec1ede116bbf8d709c32378384eb6a SHA512 827bb679b322da790f68f5c6c3a469362edbb6e0128a439a6f9c98b3877e2d32c67c9826e0cd20762e6f234df332d05b9ccc309bbb4367e3b8d6de3d5d7afa3d DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb SHA512 2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6 +DIST jimtcl-0.81.tar.gz 3977705 BLAKE2B d58a8f9d3a632e98a9737b57f9228e35f198eae47ff51b4a0401491f394980b95606e0986d0b79c84f9a8e77d562407882668c0d108275935fa65b21ce68b329 SHA512 5f798b15fd32673e2e2769e25c4dfeee43696e5bbd2d3ec3fd2f312fa49da9ef057fb4de81a10d3812dc07fb2e40ed79924b024e537e064d3213b10e06a416b6 EBUILD jimtcl-0.78-r2.ebuild 1285 BLAKE2B 44f9c9b713a7fd6bc7277182e9bdb38cdcaf44b850831ebf860bee7f8d05841f38696130cd7db6f7cce218e87832cbb280102a021a553d938ed36980264f3bae SHA512 7339da09ceea2bd7f44bb63d39f7b37b1ebd7a37c0c3d1622d029b2563b39934be651317add683271d1432bd0ca3c72bbf60f7fb5e1c1de3e924eeee2b24dc26 +EBUILD jimtcl-0.81.ebuild 998 BLAKE2B ff79a20f6b3ada60c11a1b5b3978b9d15a27ca24a2a8ec75165e78f518823764cc358c05f25b71b8815cf84320ed3825314ecf72d9a0518770248e5afd0dcb6e SHA512 78c2b3dd9d7ed349000f7d2fce09687f0fabfd7172ebf6b5495b5ecfb334823bb150e9a46771507de5de84bb0f56bd88a7b5114a766d4dc6cc40e4315efe08ea MISC metadata.xml 252 BLAKE2B 57e62a72d2a233a671fe62629fbc0c2f650b499fcd7fa2b34b0c32a46bec93b9b60f0efc55b1085dfaefd5d144b6963f568cfbe15c73174a7547815a9a7a4f6c SHA512 1940d2988d94201ed1322f462a5e7ad12ce151b391fd68acfaa0d6dd34665c590122acbec94989b83fb3a8f15b68faa266fa0f4fc4377fe52a4bb4b97cd9759e diff --git a/dev-lang/jimtcl/jimtcl-0.81.ebuild b/dev-lang/jimtcl/jimtcl-0.81.ebuild new file mode 100644 index 000000000000..3554df35054f --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.81.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~x86" + +DESCRIPTION="Small footprint implementation of Tcl programming language" +HOMEPAGE="http://jim.tcl.tk/" + +LICENSE="LGPL-2" +SLOT="0/${PV}" +IUSE="doc static-libs" + +RDEPEND="" +DEPEND=" + dev-lang/tcl:0 +" + +src_configure() { + CCACHE=none econf --disable-docs --shared + if use static-libs ; then + # The build does not support doing both simultaneously. + mkdir static-libs || die + cd static-libs || die + CCACHE=none ECONF_SOURCE="${S}" econf --disable-docs + fi +} + +src_compile() { + # Must build static-libs first. + use static-libs && emake -C static-libs libjim.a + emake all +} + +src_install() { + default + ln -sf libjim.so.${PV} "${ED}"/usr/$(get_libdir)/libjim.so || die + use static-libs && dolib.a static-libs/libjim.a + use doc && dodoc Tcl_shipped.html +} |