/[gentoo-x86]/dev-lang/jimtcl/jimtcl-9999.ebuild
Gentoo

Contents of /dev-lang/jimtcl/jimtcl-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Sep 17 19:16:49 2013 UTC (9 months, 3 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +5 -3 lines
Fix shared library symlink. Bug #485064

(Portage version: 2.2.4/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/jimtcl/jimtcl-9999.ebuild,v 1.7 2013/09/13 23:51:30 hwoarang Exp $
4
5 EAPI="4"
6
7 inherit multilib git-2
8
9 DESCRIPTION="Small footprint implementation of Tcl programming language"
10 HOMEPAGE="http://jim.tcl.tk"
11 EGIT_REPO_URI="http://repo.or.cz/r/jimtcl.git"
12
13 LICENSE="LGPL-2"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="doc static-libs"
17 DEPEND="doc? ( app-text/asciidoc )
18 app-arch/unzip"
19
20 src_configure() {
21 ! use static-libs && myconf=--with-jim-shared
22 econf ${myconf}
23 }
24
25 src_compile() {
26 emake all
27 use doc && emake docs
28 }
29
30 src_install() {
31 dobin jimsh
32 use static-libs && {
33 dolib.a libjim.a
34 } || {
35 dolib.so libjim.so*
36 dosym /usr/$(get_libdir)/libjim.so* \
37 /usr/$(get_libdir)/libjim.so
38 }
39 insinto /usr/include
40 doins jim.h jimautoconf.h jim-subcmd.h jim-signal.h
41 doins jim-win32compat.h jim-eventloop.h jim-config.h
42 dodoc AUTHORS README TODO
43 use doc && dohtml Tcl.html
44 }

  ViewVC Help
Powered by ViewVC 1.1.20