commit: f19d787cacf763db0281830885962a9dfe560d8a Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Sat Apr 23 19:19:28 2022 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Sat Apr 23 19:35:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19d787c
dev-lang/jimtcl: Version bump to 0.81 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> dev-lang/jimtcl/Manifest | 1 + dev-lang/jimtcl/jimtcl-0.81.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-lang/jimtcl/Manifest b/dev-lang/jimtcl/Manifest index d26471fa7ada..a0a2b4b209a5 100644 --- a/dev-lang/jimtcl/Manifest +++ b/dev-lang/jimtcl/Manifest @@ -1 +1,2 @@ DIST jimtcl-0.78.tar.gz 3073533 BLAKE2B f0cdaf2807c7dd0e7c64e37cbc8dd019d8460e6a0320c239b0d01549aede8c86a89d84d7a3c5200c8d8cea428dbd1038d57dc66f5b580bdea8fe39710f967bbb SHA512 2a2cff12d7fdc4cf36734e41727eef08f6d74fb13d70bb0a3e01839e66859e57dd927ddedc161a6a7928881d640bd4e20a1bb313ed24aa2bb7bcb00eaf64fbf6 +DIST jimtcl-0.81.tar.gz 3977705 BLAKE2B d58a8f9d3a632e98a9737b57f9228e35f198eae47ff51b4a0401491f394980b95606e0986d0b79c84f9a8e77d562407882668c0d108275935fa65b21ce68b329 SHA512 5f798b15fd32673e2e2769e25c4dfeee43696e5bbd2d3ec3fd2f312fa49da9ef057fb4de81a10d3812dc07fb2e40ed79924b024e537e064d3213b10e06a416b6 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 +}