summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r--sys-apps/mawk/ChangeLog7
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20141027.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-apps/mawk/ChangeLog b/sys-apps/mawk/ChangeLog
index 3b6729000eb7..4882e11da559 100644
--- a/sys-apps/mawk/ChangeLog
+++ b/sys-apps/mawk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/mawk
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/ChangeLog,v 1.33 2014/10/08 02:40:31 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/ChangeLog,v 1.34 2014/11/24 01:02:01 radhermit Exp $
+
+*mawk-1.3.4_p20141027 (24 Nov 2014)
+
+ 24 Nov 2014; Tim Harder <radhermit@gentoo.org> +mawk-1.3.4_p20141027.ebuild:
+ Version bump.
08 Oct 2014; Tim Harder <radhermit@gentoo.org> -mawk-1.3.4_p20101210.ebuild,
-mawk-1.3.4_p20120627.ebuild, -mawk-1.3.4_p20121129.ebuild,
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..b11a47b2e85b
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20141027.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/mawk-1.3.4_p20141027.ebuild,v 1.1 2014/11/24 01:02:01 radhermit Exp $
+
+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-admin/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
+}