Gentoo Archives: gentoo-commits

From: "Kenneth Prugh (ken69267)" <ken69267@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/squirrelsh: metadata.xml ChangeLog squirrelsh-1.2.3-r1.ebuild
Date: Sat, 10 Apr 2010 17:23:58
Message-Id: 20100410172355.C1CA02C04A@corvid.gentoo.org
1 ken69267 10/04/10 17:23:55
2
3 Modified: metadata.xml ChangeLog
4 Added: squirrelsh-1.2.3-r1.ebuild
5 Log:
6 use static libraries and update metadata
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 app-shells/squirrelsh/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 20 Mar 2009 04:17:08 -0000 1.1
23 +++ metadata.xml 10 Apr 2010 17:23:55 -0000 1.2
24 @@ -8,7 +8,7 @@
25 <description>Proxy Maintainer</description>
26 </maintainer>
27 <maintainer>
28 - <email>ed-209@××××××××××.com</email>
29 + <email>eplumlee@×××××.com</email>
30 <name>Evan Plumlee</name>
31 </maintainer>
32 </pkgmetadata>
33
34
35
36 1.4 app-shells/squirrelsh/ChangeLog
37
38 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/ChangeLog?rev=1.4&view=markup
39 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/ChangeLog?rev=1.4&content-type=text/plain
40 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/ChangeLog?r1=1.3&r2=1.4
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v
45 retrieving revision 1.3
46 retrieving revision 1.4
47 diff -u -r1.3 -r1.4
48 --- ChangeLog 1 Sep 2009 06:42:37 -0000 1.3
49 +++ ChangeLog 10 Apr 2010 17:23:55 -0000 1.4
50 @@ -1,6 +1,12 @@
51 # ChangeLog for app-shells/squirrelsh
52 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v 1.3 2009/09/01 06:42:37 fauli Exp $
54 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
55 +# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v 1.4 2010/04/10 17:23:55 ken69267 Exp $
56 +
57 +*squirrelsh-1.2.3-r1 (10 Apr 2010)
58 +
59 + 10 Apr 2010; Kenneth Prugh <ken69267@g.o>
60 + +squirrelsh-1.2.3-r1.ebuild, metadata.xml:
61 + Use static libraries and update metadata
62
63 01 Sep 2009; Christian Faulhammer <fauli@g.o>
64 squirrelsh-1.2.3.ebuild:
65
66
67
68 1.1 app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild
69
70 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: squirrelsh-1.2.3-r1.ebuild
74 ===================================================================
75 # Copyright 1999-2010 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild,v 1.1 2010/04/10 17:23:55 ken69267 Exp $
78
79 EAPI="2"
80
81 inherit eutils multilib toolchain-funcs
82
83 DESCRIPTION="An advanced, cross-platform object oriented scripting shell based
84 on the squirrel scripting language"
85 HOMEPAGE="http://squirrelsh.sourceforge.net/"
86 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
87
88 LICENSE="GPL-3"
89 SLOT="0"
90 KEYWORDS="~amd64 ~x86"
91 IUSE="doc"
92
93 DEPEND="dev-libs/libpcre"
94 RDEPEND="${DEPEND}"
95
96 src_prepare() {
97 #Fix pre-stripping
98 sed -i -e '/in_LFLAGS="-s $in_LFLAGS"/d' configure || die "sed failed"
99 #Fix multilib issues
100 sed -i -e "s:prefix/lib:prefix/$(get_libdir):" configure || die "sed failed"
101 #Fix CFLAG madness
102 sed -i -e "s:-O2 -Os -Wall -ffast-math:${CFLAGS}:" \
103 configure || die "sed failed"
104 sed -i -e "s:\$c_compiler_flags -fno-rtti:${CXXFLAGS}:" \
105 configure || die "sed failed"
106 sed -i -e "s:-fomit-frame-pointer::" configure || die "sed failed"
107 sed -i -e "797,817d" configure || die "sed failed"
108 #Fix compiler madness
109 sed -i -e "s:c_compiler=\"gcc\":c_compiler=\"$(tc-getCC)\":" \
110 configure || die "sed failed"
111 sed -i -e "s:cpp_compiler=\"g++\":cpp_compiler=\"$(tc-getCXX)\":" \
112 configure || die "sed failed"
113 #Remove autoinstallation of docs
114 sed -i -e "/@INSTALL@/d" Makefile.in || die "sed failed"
115 #Fix --with-libraries in configure
116 sed -i -e "s:arg_option:arg_value:" configure || die "sed failed"
117 }
118
119 src_configure() {
120 #Not autotools, custom rolled
121 #Use static to prevent collision with dev-lang/squirrel
122 ./configure --prefix="${D}"/usr \
123 --with-mime=no \
124 --with-libraries=static || die "configure failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "install failed"
129 doman doc/${PN}.1 || die "doman failed"
130 dodoc HISTORY INSTALL README || die "dodoc failed"
131 if use doc ; then
132 dodoc doc/*.pdf || die "dodoc failed"
133 fi
134 }