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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Jul 8 17:03:32 2012 UTC (2 years, 3 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
alpha/ia64/m68k/s390/sh/sparc stable wrt #418451

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 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-r3.ebuild,v 1.9 2012/06/30 16:20:28 jlec Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs flag-o-matic
8
9 DESCRIPTION="A small (static) UNIX Shell"
10 HOMEPAGE="http://www.canb.auug.org.au/~dbell/"
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="static"
17
18 DEPEND="
19 static? ( sys-libs/zlib[static-libs] )
20 !static? ( >=sys-libs/zlib-1.2.3 )"
21 RDEPEND="!static? ( ${DEPEND} )"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/sash-3.7-builtin.patch
25
26 sed \
27 -e "s:-O3:${CFLAGS}:" \
28 -i Makefile || die
29 sed \
30 -e 's:linux/ext2_fs.h:ext2fs/ext2_fs.h:g' \
31 -i cmd_chattr.c || die
32 }
33
34 src_compile() {
35 use static && append-ldflags -static
36
37 emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
38 }
39
40 src_install() {
41 into /
42 dobin sash
43 doman sash.1
44 dodoc README
45 }

  ViewVC Help
Powered by ViewVC 1.1.20