diff options
author | Kenneth Prugh <ken69267@gentoo.org> | 2010-04-10 17:23:55 +0000 |
---|---|---|
committer | Kenneth Prugh <ken69267@gentoo.org> | 2010-04-10 17:23:55 +0000 |
commit | 64134a9af57b5339ee830a4b18cb02fb42ec9d02 (patch) | |
tree | 23ae8a3015712b45331f92fc8ce18801e4ce94d8 /app-shells/squirrelsh | |
parent | Version bump (diff) | |
download | gentoo-2-64134a9af57b5339ee830a4b18cb02fb42ec9d02.tar.gz gentoo-2-64134a9af57b5339ee830a4b18cb02fb42ec9d02.tar.bz2 gentoo-2-64134a9af57b5339ee830a4b18cb02fb42ec9d02.zip |
use static libraries and update metadata
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-shells/squirrelsh')
-rw-r--r-- | app-shells/squirrelsh/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/squirrelsh/metadata.xml | 2 | ||||
-rw-r--r-- | app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild | 60 |
3 files changed, 69 insertions, 3 deletions
diff --git a/app-shells/squirrelsh/ChangeLog b/app-shells/squirrelsh/ChangeLog index 42c9547b4c89..e004f1eff451 100644 --- a/app-shells/squirrelsh/ChangeLog +++ b/app-shells/squirrelsh/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/squirrelsh -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v 1.3 2009/09/01 06:42:37 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/ChangeLog,v 1.4 2010/04/10 17:23:55 ken69267 Exp $ + +*squirrelsh-1.2.3-r1 (10 Apr 2010) + + 10 Apr 2010; Kenneth Prugh <ken69267@gentoo.org> + +squirrelsh-1.2.3-r1.ebuild, metadata.xml: + Use static libraries and update metadata 01 Sep 2009; Christian Faulhammer <fauli@gentoo.org> squirrelsh-1.2.3.ebuild: diff --git a/app-shells/squirrelsh/metadata.xml b/app-shells/squirrelsh/metadata.xml index 2fe424b67766..2337f672a10f 100644 --- a/app-shells/squirrelsh/metadata.xml +++ b/app-shells/squirrelsh/metadata.xml @@ -8,7 +8,7 @@ <description>Proxy Maintainer</description> </maintainer> <maintainer> - <email>ed-209@hellburner.com</email> + <email>eplumlee@yahoo.com</email> <name>Evan Plumlee</name> </maintainer> </pkgmetadata> diff --git a/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild b/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild new file mode 100644 index 000000000000..1c94db912487 --- /dev/null +++ b/app-shells/squirrelsh/squirrelsh-1.2.3-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="2" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="An advanced, cross-platform object oriented scripting shell based +on the squirrel scripting language" +HOMEPAGE="http://squirrelsh.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="dev-libs/libpcre" +RDEPEND="${DEPEND}" + +src_prepare() { + #Fix pre-stripping + sed -i -e '/in_LFLAGS="-s $in_LFLAGS"/d' configure || die "sed failed" + #Fix multilib issues + sed -i -e "s:prefix/lib:prefix/$(get_libdir):" configure || die "sed failed" + #Fix CFLAG madness + sed -i -e "s:-O2 -Os -Wall -ffast-math:${CFLAGS}:" \ + configure || die "sed failed" + sed -i -e "s:\$c_compiler_flags -fno-rtti:${CXXFLAGS}:" \ + configure || die "sed failed" + sed -i -e "s:-fomit-frame-pointer::" configure || die "sed failed" + sed -i -e "797,817d" configure || die "sed failed" + #Fix compiler madness + sed -i -e "s:c_compiler=\"gcc\":c_compiler=\"$(tc-getCC)\":" \ + configure || die "sed failed" + sed -i -e "s:cpp_compiler=\"g++\":cpp_compiler=\"$(tc-getCXX)\":" \ + configure || die "sed failed" + #Remove autoinstallation of docs + sed -i -e "/@INSTALL@/d" Makefile.in || die "sed failed" + #Fix --with-libraries in configure + sed -i -e "s:arg_option:arg_value:" configure || die "sed failed" +} + +src_configure() { + #Not autotools, custom rolled + #Use static to prevent collision with dev-lang/squirrel + ./configure --prefix="${D}"/usr \ + --with-mime=no \ + --with-libraries=static || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + doman doc/${PN}.1 || die "doman failed" + dodoc HISTORY INSTALL README || die "dodoc failed" + if use doc ; then + dodoc doc/*.pdf || die "dodoc failed" + fi +} |