diff options
| author | Esteve Varela Colominas <esteve.varela@gmail.com> | 2024-02-28 17:17:14 +0100 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2024-02-29 14:44:38 +0200 |
| commit | 888388225a24e021a960694457ea0302dc417a90 (patch) | |
| tree | a4b6b533b7860c3db4ffd17220383e2a7df02d15 /dev-lang/jimtcl/jimtcl-0.82.ebuild | |
| parent | 824b749b2b7acd55d422a1bd82a4279b5bf5421e (diff) | |
| download | gentoo-888388225a24e021a960694457ea0302dc417a90.tar.gz gentoo-888388225a24e021a960694457ea0302dc417a90.tar.bz2 gentoo-888388225a24e021a960694457ea0302dc417a90.zip | |
dev-lang/jimtcl: Bump to 0.82
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34890
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/jimtcl/jimtcl-0.82.ebuild')
| -rw-r--r-- | dev-lang/jimtcl/jimtcl-0.82.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-lang/jimtcl/jimtcl-0.82.ebuild b/dev-lang/jimtcl/jimtcl-0.82.ebuild new file mode 100644 index 000000000000..b639eeba52a5 --- /dev/null +++ b/dev-lang/jimtcl/jimtcl-0.82.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs edo + +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" + +DEPEND=" + dev-lang/tcl:0 +" + +src_prepare() { + # Avoid tests that need networking + rm tests/ssl.test || die + default +} + +src_configure() { + # Use the provided bootstrap tclsh, avoiding the script picking a different one + edo $(tc-getCC) -o jimsh0 autosetup/jimsh0.c + + export 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 + ECONF_SOURCE="${S}" econf --disable-docs + fi +} + +src_compile() { + # Must build static-libs first. + use static-libs && emake -C static-libs V=1 libjim.a + emake V=1 all +} + +src_install() { + default + use static-libs && dolib.a static-libs/libjim.a + use doc && dodoc Tcl_shipped.html +} |
