blob: 3e2ee5898c962df8e2bd1e8ab9f34ba7bdf3687a (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/pdksh-5.2.14-r3.ebuild,v 1.1 2001/04/13 13:17:50 achim Exp $
A="${P}.tar.gz ${P}-patches.1"
S=${WORKDIR}/${P}
DESCRIPTION="The Public Domain Korn Shell"
SRC_URI="ftp://ftp.cs.mun.ca/pub/pdksh/${P}.tar.gz
ftp://ftp.cs.mun.ca/pub/pdksh/${P}-patches.1"
HOMEPAGE="http://ww.cs.mun.ca/~michael/pdksh/"
DEPEND=">=sys-libs/glibc-2.1.3"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
patch -p2 < ${DISTDIR}/${P}-patches.1
}
src_compile() {
try ./configure --prefix=/usr --host=${CHOST}
try make
}
src_install() {
into /
dobin ksh
into /usr
doman ksh.1
dodoc BUG-REPORTS ChangeLog* CONTRIBUTORS LEGAL NEWS NOTES PROJECTS README
docinto etc
dodoc etc/*
}
|