summaryrefslogtreecommitdiff
blob: 5de40d45030a9c7dd0119f982ecd7d5eaac87859 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.0.6.ebuild,v 1.3 2000/10/03 16:02:04 achim Exp $

P=gawk-3.0.6
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="GNU awk pattern-matching language"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gawk/${A}
	 ftp://prep.ai.mit.edu/gnu/gawk/${A}"
HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html"

src_compile() {                           
	try ./configure --prefix=/usr --host=${CHOST}
	try make
}

src_install() {                               
        into /usr
	doinfo doc/gawk.info
	doman doc/gawk.1 doc/igawk.1
	dobin gawk awklib/igawk 
	dosym gawk /usr/bin/awk
	dosym gawk /usr/bin/gawk-3.0.6
	insinto /usr/share/awk
	doins awklib/eg/lib/*.awk awklib/*.awk
	exeinto /usr/libexec/awk
	doexe awklib/*cat 
	dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES LIMITATIONS NEWS PROBLEMS README
}