/[gentoo-x86]/app-shells/sash/sash-3.7-r1.ebuild
Gentoo

Contents of /app-shells/sash/sash-3.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Sep 25 19:43:27 2011 UTC (2 years, 11 months ago) by vapier
Branch: MAIN
Changes since 1.3: +7 -9 lines
Drop useless fix-includes patch as this breaks with gcc-4.6+ (--disable-shared is not a valid flag).  Depend on lib packages being built with USE=static-libs when we are built with USE=static #384333 by Guenther Brunthaler.

(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-shells/sash/sash-3.7-r1.ebuild,v 1.3 2011/02/06 22:02:34 leio Exp $
4
5 EAPI="3"
6
7 inherit eutils flag-o-matic toolchain-funcs
8
9 DESCRIPTION="A small static UNIX Shell with readline support"
10 HOMEPAGE="http://www.canb.auug.org.au/~dbell/ http://dimavb.st.simbirsk.su/vlk/"
11 SRC_URI="http://www.canb.auug.org.au/~dbell/programs/${P}.tar.gz"
12
13 LICENSE="freedist"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
16 IUSE="readline"
17
18 DEPEND="|| ( <sys-libs/zlib-1.2.5.1-r2 sys-libs/zlib[static-libs] )
19 readline? (
20 >=sys-libs/readline-4.1
21 sys-libs/ncurses[static-libs]
22 )"
23 RDEPEND=""
24
25 src_prepare() {
26 epatch "${FILESDIR}"/sash-3.7-builtin.patch
27 use readline && epatch "${FILESDIR}"/sash-3.6-readline.patch
28
29 sed -i \
30 -e "s:-O3:${CFLAGS}:" \
31 -e "/^LDFLAGS /s: -s$: ${LDFLAGS}:" \
32 Makefile || die
33 }
34
35 src_compile() {
36 emake CC="$(tc-getCC)" || die
37 }
38
39 src_install() {
40 into /
41 dobin sash || die
42 doman sash.1
43 dodoc README
44 }

  ViewVC Help
Powered by ViewVC 1.1.20