dev-lang/jimtcl: add subslot based on SONAME

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2019-02-18 08:16:49 +00:00
parent 6c94a31847
commit 5469158d79

View File

@@ -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