summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-10-08 02:39:31 +0000
committerTim Harder <radhermit@gentoo.org>2014-10-08 02:39:31 +0000
commit1bbd90704ba21f292b8475bc040181fdadd55db6 (patch)
tree6e26cbc57e927a19317ae3d8d8fa69a395951e2b /sys-apps/mawk/mawk-1.3.4_p20140914.ebuild
parentRemove old. (diff)
downloadgentoo-2-1bbd90704ba21f292b8475bc040181fdadd55db6.tar.gz
gentoo-2-1bbd90704ba21f292b8475bc040181fdadd55db6.tar.bz2
gentoo-2-1bbd90704ba21f292b8475bc040181fdadd55db6.zip
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'sys-apps/mawk/mawk-1.3.4_p20140914.ebuild')
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20140914.ebuild43
1 files changed, 43 insertions, 0 deletions
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..c00f8b69729b
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20140914.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_p20140914.ebuild,v 1.1 2014/10/08 02:39:31 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
+}