diff options
| author | Sven Wegener <swegener@gentoo.org> | 2022-04-23 21:19:28 +0200 |
|---|---|---|
| committer | Sven Wegener <swegener@gentoo.org> | 2022-04-23 21:35:40 +0200 |
| commit | f19d787cacf763db0281830885962a9dfe560d8a (patch) | |
| tree | 16a3e3f99a06c0cbf5e7687d2a2113c24e1ae121 /dev-lang/jimtcl/jimtcl-0.81.ebuild | |
| parent | f4f568d3a786c9e0a47ae3cd6a8f371ed61f4318 (diff) | |
| download | gentoo-f19d787cacf763db0281830885962a9dfe560d8a.tar.gz gentoo-f19d787cacf763db0281830885962a9dfe560d8a.tar.bz2 gentoo-f19d787cacf763db0281830885962a9dfe560d8a.zip | |
dev-lang/jimtcl: Version bump to 0.81
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'dev-lang/jimtcl/jimtcl-0.81.ebuild')
| -rw-r--r-- | dev-lang/jimtcl/jimtcl-0.81.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 +} |
