summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-06-15 23:07:09 +0000
committerSebastian Pipping <sping@gentoo.org>2010-06-15 23:07:09 +0000
commit9af3a8b7ca373f6083af98979d891d34777d6389 (patch)
treebde33e95caecf5a29534970ce0eba4226248fc7d /sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild
parentVersion bump (diff)
downloadgentoo-2-9af3a8b7ca373f6083af98979d891d34777d6389.tar.gz
gentoo-2-9af3a8b7ca373f6083af98979d891d34777d6389.tar.bz2
gentoo-2-9af3a8b7ca373f6083af98979d891d34777d6389.zip
sys-apps/mawk: Install example scripts, too
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild')
-rw-r--r--sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild b/sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild
new file mode 100644
index 000000000000..71fbc6426c9b
--- /dev/null
+++ b/sys-apps/mawk/mawk-1.3.4_p20100507-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 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_p20100507-r1.ebuild,v 1.1 2010/06/15 23:07:09 sping Exp $
+
+EAPI="2"
+
+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"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ tc-export CC # stupid configure script
+ econf || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc ACKNOWLEDGMENT CHANGES INSTALL README
+
+ exeinto /usr/share/${PN}/examples
+ doexe examples/*
+}