blob: 62c2b79bc53af6cbc6ac11f9f0f64b6ef4950e20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/pdksh-5.2.14-r4.ebuild,v 1.27 2008/12/30 20:47:27 angelos Exp $
inherit eutils toolchain-funcs
DESCRIPTION="The Public Domain Korn Shell"
HOMEPAGE="http://www.cs.mun.ca/~michael/pdksh/"
SRC_URI="ftp://ftp.cs.mun.ca/pub/${PN}/${P}.tar.gz
ftp://ftp.cs.mun.ca/pub/${PN}/${P}-patches.1"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE=""
DEPEND="!app-shells/ksh"
RESTRICT="test"
src_unpack() {
unpack ${P}.tar.gz
cd "${S}"
epatch "${DISTDIR}"/${P}-patches.1
epatch "${FILESDIR}"/${P}-coreutils-posix-fix.patch
}
src_compile() {
echo 'ksh_cv_dev_fd=${ksh_cv_dev_fd=yes}' > config.cache
econf
emake CC="$(tc-getCC)" CPP="$(tc-getCPP)" || die "emake failed"
}
src_install() {
into /
dobin ksh
into usr
doman ksh.1
dodoc BUG-REPORTS ChangeLog* CONTRIBUTORS LEGAL NEWS NOTES PROJECTS README
docinto etc
dodoc etc/*
}
|