-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
src_install() {
dobin jimsh
- use static-libs && {
+
+ if use static-libs; then
dolib.a libjim.a
- } || {
+ else
dolib.so libjim.so.${PV}
- dosym /usr/$(get_libdir)/libjim.so.${PV} \
- /usr/$(get_libdir)/libjim.so
- }
+ dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+ fi
+
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
doins jim-win32compat.h jim-eventloop.h jim-config.h
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit multiprocessing eutils
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
- inherit git-2
+ inherit git-r3
else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
src_install() {
dobin jimsh
- use static-libs && {
+
+ if use static-libs; then
dolib.a libjim.a
- } || {
+ else
dolib.so libjim.so.${PV}
- dosym /usr/$(get_libdir)/libjim.so.${PV} \
- /usr/$(get_libdir)/libjim.so
- }
+ dosym libjim.so.${PV} /usr/$(get_libdir)/libjim.so
+ fi
+
insinto /usr/include
doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
doins jim-win32compat.h jim-eventloop.h jim-config.h
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit multiprocessing eutils
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
- inherit git-2
+ inherit git-r3
else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit multiprocessing eutils
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
- inherit git-2
+ inherit git-r3
else
inherit vcs-snapshot
SRC_URI="https://github.com/msteveb/jimtcl/zipball/${PV} -> ${P}.zip"