summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-06-04 02:31:14 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-06-04 02:31:14 +0000
commit14de47a7371211c525db367e3e0ad7a59868d15c (patch)
tree91b378a43cb5f916ce23de6b4f28bded4c856054 /sys-apps/nawk
parentppc stable (bug 400757) (diff)
downloadgentoo-2-14de47a7371211c525db367e3e0ad7a59868d15c.tar.gz
gentoo-2-14de47a7371211c525db367e3e0ad7a59868d15c.tar.bz2
gentoo-2-14de47a7371211c525db367e3e0ad7a59868d15c.zip
initial commit
(Portage version: 2.2.0_alpha109/cvs/Linux i686)
Diffstat (limited to 'sys-apps/nawk')
-rw-r--r--sys-apps/nawk/ChangeLog10
-rw-r--r--sys-apps/nawk/Manifest4
-rw-r--r--sys-apps/nawk/metadata.xml9
-rw-r--r--sys-apps/nawk/nawk-20110810.ebuild35
4 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/nawk/ChangeLog b/sys-apps/nawk/ChangeLog
new file mode 100644
index 000000000000..6739b4f290c3
--- /dev/null
+++ b/sys-apps/nawk/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/nawk
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/ChangeLog,v 1.1 2012/06/04 02:31:14 ottxor Exp $
+
+*nawk-20110810 (04 Jun 2012)
+
+ 04 Jun 2012; Christoph Junghans <ottxor@gentoo.org> +nawk-20110810.ebuild,
+ +metadata.xml:
+ initial commit
+
diff --git a/sys-apps/nawk/Manifest b/sys-apps/nawk/Manifest
new file mode 100644
index 000000000000..9fcd6d5e6389
--- /dev/null
+++ b/sys-apps/nawk/Manifest
@@ -0,0 +1,4 @@
+DIST awk.tar.gz 108035 RMD160 0c8536e9d2212b05f77b9939a6d386dd819aaa66 SHA1 333d93c746aa16e33c5c4aaf505009914cea4770 SHA256 48af177922700c313aa9d22100d230d2d0280d56b8598d80f583d57b44bf63a8
+EBUILD nawk-20110810.ebuild 751 RMD160 7cd06eabeac8b5347225529d377cb7d323720efc SHA1 e4c9279559d2b6feb2940287ec81a03c1b05c45a SHA256 483dac8b23eb9e4bb90b16cce122b6f3f09e9746a96d4c111e701e23c0730c0e
+MISC ChangeLog 256 RMD160 038e68940d52a3831f75f103bd6b45d532b40bb7 SHA1 630b2fcde37ddf07377aad2e0f877e5e492d5075 SHA256 c9e57f2b3c188f06811f86e10736fdf526cf45c0c58d5147a656832670abd9c5
+MISC metadata.xml 263 RMD160 85cf3e9a27b477ab6afb4a38ba1edbd61fa28fdb SHA1 43f087046efbd15ecc8c71d6636eca76a9a62630 SHA256 a6d4c105d7146cdcbcf7d42ac9380a500a6e408268af602adf32fdeb0c114d48
diff --git a/sys-apps/nawk/metadata.xml b/sys-apps/nawk/metadata.xml
new file mode 100644
index 000000000000..6ce7863fe532
--- /dev/null
+++ b/sys-apps/nawk/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <herd>base-system</herd>
+</pkgmetadata>
diff --git a/sys-apps/nawk/nawk-20110810.ebuild b/sys-apps/nawk/nawk-20110810.ebuild
new file mode 100644
index 000000000000..e38ab1d84017
--- /dev/null
+++ b/sys-apps/nawk/nawk-20110810.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/nawk/nawk-20110810.ebuild,v 1.1 2012/06/04 02:31:14 ottxor Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Brian Kernighan's pattern scanning and processing language"
+HOMEPAGE="http://cm.bell-labs.com/cm/cs/awkbook/index.html"
+SRC_URI="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="virtual/yacc"
+
+S="${WORKDIR}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" ALLOC="${LDFLAGS}" YACC=$(type -p yacc)
+}
+
+src_install() {
+ newbin a.out "${PN}"
+ sed -e 's/awk/nawk/g' \
+ -e 's/AWK/NAWK/g' \
+ -e 's/Awk/Nawk/g' \
+ awk.1 > "${PN}".1 || die "manpage patch failed"
+ doman "${PN}".1
+ dodoc README FIXES
+}