summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Prugh <ken69267@gentoo.org>2009-03-20 04:17:08 +0000
committerKenneth Prugh <ken69267@gentoo.org>2009-03-20 04:17:08 +0000
commit538466a27546b01d712e21e552b68e19c8a3a2bb (patch)
treee4122d6450c9894168104cffbf37463c21e54377 /app-shells
parentRemoving compnerd as a maintainer since he was retired. Fixed some QA warnings. (diff)
downloadgentoo-2-538466a27546b01d712e21e552b68e19c8a3a2bb.tar.gz
gentoo-2-538466a27546b01d712e21e552b68e19c8a3a2bb.tar.bz2
gentoo-2-538466a27546b01d712e21e552b68e19c8a3a2bb.zip
Initial commit. Ebuild written by Evan Plumlee <ed-209@hellburner.com>. Proxied maintainer.
(Portage version: 2.1.6.9/cvs/Linux x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/squirrelsh/ChangeLog11
-rw-r--r--app-shells/squirrelsh/metadata.xml15
-rw-r--r--app-shells/squirrelsh/squirrelsh-1.2.3.ebuild63
3 files changed, 89 insertions, 0 deletions
diff --git a/app-shells/squirrelsh/ChangeLog b/app-shells/squirrelsh/ChangeLog
new file mode 100644
index 000000000000..799935a0b1ae
--- /dev/null
+++ b/app-shells/squirrelsh/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2009/03/20 04:17:08 ken69267 Exp $
+
+*squirrelsh-1.2.3 (20 Mar 2009)
+
+ 20 Mar 2009; Kenneth Prugh <ken69267@gentoo.org> +metadata.xml,
+ +squirrelsh-1.2.3.ebuild:
+ Initial commit. Ebuild written by Evan Plumlee <ed-209@hellburner.com>.
+ Proxied maintainer.
+
diff --git a/app-shells/squirrelsh/metadata.xml b/app-shells/squirrelsh/metadata.xml
new file mode 100644
index 000000000000..2fe424b67766
--- /dev/null
+++ b/app-shells/squirrelsh/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>noherd</herd>
+ <maintainer>
+ <email>ken69267@gentoo.org</email>
+ <name>Kenneth Prugh</name>
+ <description>Proxy Maintainer</description>
+ </maintainer>
+ <maintainer>
+ <email>ed-209@hellburner.com</email>
+ <name>Evan Plumlee</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild b/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild
new file mode 100644
index 000000000000..3105df30d3ee
--- /dev/null
+++ b/app-shells/squirrelsh/squirrelsh-1.2.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 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.ebuild,v 1.1 2009/03/20 04:17:08 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"
+IUSE="doc static"
+
+DEPEND="dev-libs/libpcre"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ #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"
+}
+
+src_configure() {
+ use static && \
+ confline="--with-libraries=static" || \
+ confline="--with-libraries=shared"
+
+ #Not autotools, custom rolled
+ ./configure --prefix="${D}"/usr \
+ --with-mime=no ${confline} || 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
+}