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.ebuild
Date: Fri, 20 Mar 2009 04:17:10
Message-Id: E1LkWAO-0002Z5-B0@stork.gentoo.org
1 ken69267 09/03/20 04:17:08
2
3 Added: metadata.xml ChangeLog squirrelsh-1.2.3.ebuild
4 Log:
5 Initial commit. Ebuild written by Evan Plumlee <ed-209@××××××××××.com>. Proxied maintainer.
6 (Portage version: 2.1.6.9/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-shells/squirrelsh/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>noherd</herd>
20 <maintainer>
21 <email>ken69267@g.o</email>
22 <name>Kenneth Prugh</name>
23 <description>Proxy Maintainer</description>
24 </maintainer>
25 <maintainer>
26 <email>ed-209@××××××××××.com</email>
27 <name>Evan Plumlee</name>
28 </maintainer>
29 </pkgmetadata>
30
31
32
33
34 1.1 app-shells/squirrelsh/ChangeLog
35
36 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/ChangeLog?rev=1.1&view=markup
37 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/ChangeLog?rev=1.1&content-type=text/plain
38
39 Index: ChangeLog
40 ===================================================================
41 # ChangeLog for app-shells/squirrelsh
42 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
43 # $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v 1.1 2009/03/20 04:17:08 ken69267 Exp $
44
45 *squirrelsh-1.2.3 (20 Mar 2009)
46
47 20 Mar 2009; Kenneth Prugh <ken69267@g.o> +metadata.xml,
48 +squirrelsh-1.2.3.ebuild:
49 Initial commit. Ebuild written by Evan Plumlee <ed-209@××××××××××.com>.
50 Proxied maintainer.
51
52
53
54
55 1.1 app-shells/squirrelsh/squirrelsh-1.2.3.ebuild
56
57 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild?rev=1.1&view=markup
58 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild?rev=1.1&content-type=text/plain
59
60 Index: squirrelsh-1.2.3.ebuild
61 ===================================================================
62 # Copyright 1999-2009 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 # $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild,v 1.1 2009/03/20 04:17:08 ken69267 Exp $
65
66 EAPI="2"
67
68 inherit eutils multilib toolchain-funcs
69
70 DESCRIPTION="An advanced, cross-platform object oriented scripting shell based
71 on the squirrel scripting language"
72 HOMEPAGE="http://squirrelsh.sourceforge.net/"
73 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
74
75 LICENSE="GPL-3"
76 SLOT="0"
77 KEYWORDS="~amd64"
78 IUSE="doc static"
79
80 DEPEND="dev-libs/libpcre"
81 RDEPEND="${DEPEND}"
82
83 src_unpack() {
84 unpack ${A}
85 cd "${S}"
86
87 #Fix pre-stripping
88 sed -i -e '/in_LFLAGS="-s $in_LFLAGS"/d' configure || die "sed failed"
89 #Fix multilib issues
90 sed -i -e "s:prefix/lib:prefix/$(get_libdir):" configure || die "sed failed"
91 #Fix CFLAG madness
92 sed -i -e "s:-O2 -Os -Wall -ffast-math:${CFLAGS}:" \
93 configure || die "sed failed"
94 sed -i -e "s:\$c_compiler_flags -fno-rtti:${CXXFLAGS}:" \
95 configure || die "sed failed"
96 sed -i -e "s:-fomit-frame-pointer::" configure || die "sed failed"
97 sed -i -e "797,817d" configure || die "sed failed"
98 #Fix compiler madness
99 sed -i -e "s:c_compiler=\"gcc\":c_compiler=\"$(tc-getCC)\":" \
100 configure || die "sed failed"
101 sed -i -e "s:cpp_compiler=\"g++\":cpp_compiler=\"$(tc-getCXX)\":" \
102 configure || die "sed failed"
103 #Remove autoinstallation of docs
104 sed -i -e "/@INSTALL@/d" Makefile.in || die "sed failed"
105 }
106
107 src_configure() {
108 use static && \
109 confline="--with-libraries=static" || \
110 confline="--with-libraries=shared"
111
112 #Not autotools, custom rolled
113 ./configure --prefix="${D}"/usr \
114 --with-mime=no ${confline} || die "configure failed"
115 }
116
117 src_install() {
118 emake DESTDIR="${D}" install || die "install failed"
119 doman doc/${PN}.1 || die "doman failed"
120 dodoc HISTORY INSTALL README || die "dodoc failed"
121 if use doc ; then
122 dodoc doc/*.pdf || die "dodoc failed"
123 fi
124 }