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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed May 2 20:29:50 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 blueness 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.2 # $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.6.ebuild,v 1.1 2012/03/13 11:39:20 blueness Exp $
4 blueness 1.1
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 jdhore 1.2 virtual/pkgconfig"
22 blueness 1.1
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