mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user