commit: 5469158d791875d51f38bcee4c8a456ec593b853
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 18 08:16:49 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 09:08:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5469158d
dev-lang/jimtcl: add subslot based on SONAME
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../{jimtcl-0.78.ebuild => jimtcl-0.78-r1.ebuild} | 19 +++----------------
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/dev-lang/jimtcl/jimtcl-0.78.ebuild
b/dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
similarity index 75%
rename from dev-lang/jimtcl/jimtcl-0.78.ebuild
rename to dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
index de965ef1a8b..812fe0d263f 100644
--- a/dev-lang/jimtcl/jimtcl-0.78.ebuild
+++ b/dev-lang/jimtcl/jimtcl-0.78-r1.ebuild
@@ -5,33 +5,20 @@ EAPI="7"
inherit eutils
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
-fi
+SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86"
DESCRIPTION="Small footprint implementation of Tcl programming language"
HOMEPAGE="http://jim.tcl.tk/"
LICENSE="LGPL-2"
-SLOT="0"
+SLOT="0/78" # SONAME=libjim.so.0.78
IUSE="doc static-libs"
RDEPEND=""
DEPEND="doc? ( app-text/asciidoc )
app-arch/unzip"
-src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
- else
- default
- fi
-}
-
src_configure() {
CCACHE=None econf --with-jim-shared
if use static-libs ; then