summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r--sys-apps/mawk/Manifest5
-rw-r--r--sys-apps/mawk/files/mawk-1.3.4-cross-compile.patch13
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20100625.ebuild32
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20131226.ebuild43
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20140914.ebuild43
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20141027.ebuild43
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20141206.ebuild43
-rw-r--r--sys-apps/mawk/metadata.xml5
8 files changed, 227 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest
new file mode 100644
index 000000000000..f0fe3d063ca8
--- /dev/null
+++ b/sys-apps/mawk/Manifest
@@ -0,0 +1,5 @@
+DIST mawk-1.3.4-20100625.tgz 304970 SHA256 a8837a66ecee746edc149d7c38686209656c455290a1805c5e05ebad3184d2c9 SHA512 06623b8e647dabffd34d6e655cee72fb8a70eaf70b5cd8165d687c6913fecd868c584306d9b37666e36a473fb6c8dd7c211cdf89fffe1c838eaa826e2865de69 WHIRLPOOL bc375ddfd423fe45a0a89ac5b16a4dbf04ef360cdacc9ca9aa33cceb92e6e9ebfc8447604bf396c5c89529a42555b4d7d55474740a4117717224f983604d1b20
+DIST mawk-1.3.4-20131226.tgz 355479 SHA256 a89956b60c31dcd626271d1c4f17145fe738daa6e7d4b231320ee26d03a946fc SHA512 1e9bce2c738289283b0ed56ed4706eeb42da8951fd2c8d13d8858af15c41bd2bd18d73f0a1de997086089fbfb557f5ff3b033a27acbd11751106fe9f37ed7c5d WHIRLPOOL 94cde6dd9bb3f64bb3a173fbf9673628c1b841ea16fd395049dd6b778a6fe74fc6f5887025f297185843c10dff2820d312b592cf16e91ae79ff729e2902e2fb1
+DIST mawk-1.3.4-20140914.tgz 464855 SHA256 fb8fb2b7a4906c49d5262344835ab96c9e1ca82ad532c15fb81c51a5a77e0e78 SHA512 4083163ea7f7a9507174de292cec3944c44e1c40cca1437e6e6c2a8728e947e91da8b3f03298c52f897ae7617fa1d040e194588e4beb1deae1e7510caab968df WHIRLPOOL 0024fb066e72e03064d06574a60dc552a876f01b0be103137e1cc783c7e56b14250828ffe85904de780012fc8a7255dce2cebdc31b595ef3c921730e3b6e7e3e
+DIST mawk-1.3.4-20141027.tgz 464939 SHA256 a88f50c1a0800ae6d2cedb0672b15bd32cc57e482715ca7c1471fb398e89767a SHA512 6a16f34f8749c42ed4b008e1229718673309041c926ce96cf1739b191af39f5ca6713ca0cfc70bbd86d6f17630c6ca3d5f04c84bede94d2d9469fdac40f38eab WHIRLPOOL 2fc7efd3509e7397abc6b114f97e6fbfb4b543daa98b34cdfa032c98d2908e53797f8d0ea8411b8d824d33ef673f524846c9c80eeb99ff1ea5aea5560b9d7da1
+DIST mawk-1.3.4-20141206.tgz 465025 SHA256 efa092ec3ea5dfd54571e8ba3b0327073f1fa51b8efa0953c2cadd87a87389c8 SHA512 636c863d759c8001fd51dea5fd1bfabed193976e9d7e7d614848bf8b5b4714b16325833099abf33c0a94c9cd746608da10e6e7b1199cd2480cab419f89813814 WHIRLPOOL a10a6517092fe97f0ae23766b055c20b73b26d5fcdf18c50e8a9f571be5d694b01a039d3ce6e7ca6294477d013b6a70ae24f5f48426e827a7673e8282a0bf91b
diff --git a/sys-apps/mawk/files/mawk-1.3.4-cross-compile.patch b/sys-apps/mawk/files/mawk-1.3.4-cross-compile.patch
new file mode 100644
index 000000000000..104bb46d2457
--- /dev/null
+++ b/sys-apps/mawk/files/mawk-1.3.4-cross-compile.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -104,8 +104,9 @@
+ -@rm -f $@
+ notangle -R'"array.h"' array.w | $(NOIDENT) | cpif array.h
+
++BUILD_CC ?= gcc
+ scancode.c : $(srcdir)/makescan.c scancode.h nstd.h config.h
+- @ECHO_LD@$(CC) $(CFLAGS) $(CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
++ @ECHO_LD@$(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o makescan.exe $(srcdir)/makescan.c
+ rm -f scancode.c
+ ./makescan.exe > scancode.c
+ rm makescan.exe
diff --git a/sys-apps/mawk/mawk-1.3.4_p20100625.ebuild b/sys-apps/mawk/mawk-1.3.4_p20100625.ebuild
new file mode 100644
index 000000000000..061566eae878
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20100625.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit toolchain-funcs eutils
+
+MY_P=${P/_p/-}
+DESCRIPTION="an (often faster than gawk) awk-interpreter"
+HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
+SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ia64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.3.4-cross-compile.patch
+ tc-export BUILD_CC
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc ACKNOWLEDGMENT CHANGES INSTALL README
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/* # avoid compression of dodoc + make executable
+}
diff --git a/sys-apps/mawk/mawk-1.3.4_p20131226.ebuild b/sys-apps/mawk/mawk-1.3.4_p20131226.ebuild
new file mode 100644
index 000000000000..bba32451c649
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20131226.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit toolchain-funcs eutils
+
+MY_P=${P/_p/-}
+DESCRIPTION="an (often faster than gawk) awk-interpreter"
+HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
+SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+RDEPEND="app-eselect/eselect-awk"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+src_prepare() {
+ tc-export BUILD_CC
+}
+
+src_install() {
+ default
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ eselect awk update ifunset
+}
+
+pkg_postrm() {
+ eselect awk update ifunset
+}
diff --git a/sys-apps/mawk/mawk-1.3.4_p20140914.ebuild b/sys-apps/mawk/mawk-1.3.4_p20140914.ebuild
new file mode 100644
index 000000000000..99b3cb942f19
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20140914.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+MY_P=${P/_p/-}
+DESCRIPTION="an (often faster than gawk) awk-interpreter"
+HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
+SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+RDEPEND="app-eselect/eselect-awk"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+src_prepare() {
+ tc-export BUILD_CC
+}
+
+src_install() {
+ default
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ eselect awk update ifunset
+}
+
+pkg_postrm() {
+ eselect awk update ifunset
+}
diff --git a/sys-apps/mawk/mawk-1.3.4_p20141027.ebuild b/sys-apps/mawk/mawk-1.3.4_p20141027.ebuild
new file mode 100644
index 000000000000..99b3cb942f19
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20141027.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+MY_P=${P/_p/-}
+DESCRIPTION="an (often faster than gawk) awk-interpreter"
+HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
+SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+RDEPEND="app-eselect/eselect-awk"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+src_prepare() {
+ tc-export BUILD_CC
+}
+
+src_install() {
+ default
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ eselect awk update ifunset
+}
+
+pkg_postrm() {
+ eselect awk update ifunset
+}
diff --git a/sys-apps/mawk/mawk-1.3.4_p20141206.ebuild b/sys-apps/mawk/mawk-1.3.4_p20141206.ebuild
new file mode 100644
index 000000000000..720265d75c48
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20141206.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs
+
+MY_P=${P/_p/-}
+DESCRIPTION="an (often faster than gawk) awk-interpreter"
+HOMEPAGE="http://invisible-island.net/mawk/mawk.html"
+SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+RDEPEND="app-eselect/eselect-awk"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ACKNOWLEDGMENT CHANGES README )
+
+src_prepare() {
+ tc-export BUILD_CC
+}
+
+src_install() {
+ default
+
+ exeinto /usr/share/doc/${PF}/examples
+ doexe examples/*
+ docompress -x /usr/share/doc/${PF}/examples
+}
+
+pkg_postinst() {
+ eselect awk update ifunset
+}
+
+pkg_postrm() {
+ eselect awk update ifunset
+}
diff --git a/sys-apps/mawk/metadata.xml b/sys-apps/mawk/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-apps/mawk/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>