summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r--sys-apps/gawk/files/digest-gawk-3.0.6-r41
-rw-r--r--sys-apps/gawk/gawk-3.0.6-r4.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-apps/gawk/files/digest-gawk-3.0.6-r4 b/sys-apps/gawk/files/digest-gawk-3.0.6-r4
new file mode 100644
index 000000000000..55f7d10d4a37
--- /dev/null
+++ b/sys-apps/gawk/files/digest-gawk-3.0.6-r4
@@ -0,0 +1 @@
+MD5 b5ba21c033f5a9737455458d94954609 gawk-3.0.6.tar.gz
diff --git a/sys-apps/gawk/gawk-3.0.6-r4.ebuild b/sys-apps/gawk/gawk-3.0.6-r4.ebuild
new file mode 100644
index 000000000000..d8403962703e
--- /dev/null
+++ b/sys-apps/gawk/gawk-3.0.6-r4.ebuild
@@ -0,0 +1,52 @@
+# 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-r4.ebuild,v 1.1 2001/07/28 15:49:20 pete Exp $
+
+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"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --libexecdir=/usr/lib/awk --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
+ if [ -z "`use static`" ]
+ then
+ try make ${MAKEOPTS}
+ else
+ try make ${MAKEOPTS} LDFLAGS=-static
+ fi
+
+}
+
+src_install() {
+
+ try make prefix=${D}/usr mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info libexecdir=${D}/usr/lib/awk install
+
+ if [ -z "`use build`" ] && [ -z "`use bootcd`" ]
+ then
+ dosym gawk.1.gz /usr/share/man/man1/awk.1.gz
+ dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES
+ dodoc LIMITATIONS NEWS PROBLEMS README
+ docinto README_d
+ dodoc README_d/*
+ docinto atari
+ dodoc atari/ChangeLog atari/README.1st
+ docinto awklib
+ dodoc awklib/ChangeLog
+ docinto pc
+ dodoc pc/ChangeLog
+ docinto posix
+ dodoc posix/ChangeLog
+ else
+ rm -rf ${D}/usr/share/man ${D}/usr/share/info
+ fi
+
+}
+
+
+