/[gentoo-x86]/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild
Gentoo

Contents of /app-shells/squirrelsh/squirrelsh-1.2.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jan 8 03:52:04 2013 UTC (22 months, 2 weeks ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.6.ebuild,v 1.2 2012/05/02 20:29:50 jdhore Exp $
4
5 EAPI="4"
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="An advanced, cross-platform object oriented scripting shell based
10 on the squirrel scripting language"
11 HOMEPAGE="http://squirrelsh.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
17 IUSE="doc"
18
19 RDEPEND="dev-libs/libpcre"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
25 epatch "${FILESDIR}"/${PN}-no-strip.patch
26 epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
27 epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
28 epatch "${FILESDIR}"/${PN}-no-docs.patch
29 }
30
31 src_configure() {
32 #This package uses a custom written configure script
33 ./configure --prefix="${D}"/usr \
34 --with-cc="$(tc-getCC)" \
35 --with-cpp="$(tc-getCXX)" \
36 --with-linker="$(tc-getCXX)" \
37 --libdir=/usr/"$(get_libdir)" \
38 --with-pcre="system" \
39 --with-squirrel="local" \
40 --with-mime=no || die "configure failed"
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install
45 doman doc/${PN}.1
46 dodoc HISTORY INSTALL README
47 use doc && dodoc doc/*.pdf
48 }

  ViewVC Help
Powered by ViewVC 1.1.20