1 |
commit: 6c94a31847870f809ae0550ad816e64cb83523fa |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 18 08:14:45 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 18 09:08:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c94a318 |
7 |
|
8 |
dev-lang/jimtcl: drop live ebuild |
9 |
|
10 |
live ebuild is broken since around Dec 25 2017, commit 3499242f0065. |
11 |
inherits were switched to git-r3, but git-2 helpers are used directly. |
12 |
|
13 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
14 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
15 |
|
16 |
dev-lang/jimtcl/jimtcl-9999.ebuild | 62 -------------------------------------- |
17 |
1 file changed, 62 deletions(-) |
18 |
|
19 |
diff --git a/dev-lang/jimtcl/jimtcl-9999.ebuild b/dev-lang/jimtcl/jimtcl-9999.ebuild |
20 |
deleted file mode 100644 |
21 |
index cd5797414a6..00000000000 |
22 |
--- a/dev-lang/jimtcl/jimtcl-9999.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,62 +0,0 @@ |
25 |
-# Copyright 1999-2019 Gentoo Authors |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI="7" |
29 |
- |
30 |
-inherit eutils |
31 |
- |
32 |
-if [[ ${PV} == *9999 ]] ; then |
33 |
- EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git" |
34 |
- inherit git-r3 |
35 |
-else |
36 |
- SRC_URI="https://github.com/msteveb/jimtcl/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
- KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~s390 ~sh ~x86" |
38 |
-fi |
39 |
- |
40 |
-DESCRIPTION="Small footprint implementation of Tcl programming language" |
41 |
-HOMEPAGE="http://jim.tcl.tk/" |
42 |
- |
43 |
-LICENSE="LGPL-2" |
44 |
-SLOT="0" |
45 |
-IUSE="doc static-libs" |
46 |
- |
47 |
-RDEPEND="" |
48 |
-DEPEND="doc? ( app-text/asciidoc ) |
49 |
- app-arch/unzip" |
50 |
- |
51 |
-src_unpack() { |
52 |
- if [[ ${PV} == "9999" ]] ; then |
53 |
- git-2_src_unpack |
54 |
- else |
55 |
- default |
56 |
- fi |
57 |
-} |
58 |
- |
59 |
-src_configure() { |
60 |
- CCACHE=None econf --with-jim-shared |
61 |
- if use static-libs ; then |
62 |
- # The build does not support doing both simultaneously. |
63 |
- mkdir static-libs || die |
64 |
- cd static-libs || die |
65 |
- CCACHE=None ECONF_SOURCE=${S} econf |
66 |
- fi |
67 |
-} |
68 |
- |
69 |
-src_compile() { |
70 |
- # Must build static-libs first. |
71 |
- use static-libs && emake -C static-libs libjim.a |
72 |
- emake all |
73 |
- use doc && emake docs |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- dobin jimsh |
78 |
- use static-libs && dolib.a static-libs/libjim.a |
79 |
- ln -sf libjim.so.* libjim.so || die |
80 |
- dolib.so libjim.so* |
81 |
- insinto /usr/include |
82 |
- doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h \ |
83 |
- jim-win32compat.h jim-eventloop.h jim-config.h |
84 |
- dodoc AUTHORS README TODO |
85 |
- dodoc Tcl.html |
86 |
-} |