| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mawk/mawk-1.3.4_p20100507.ebuild,v 1.1 2010/06/02 23:42:26 vapier Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
inherit toolchain-funcs
|
| 8 |
|
| 9 |
MY_P=${P/_p/-}
|
| 10 |
DESCRIPTION="an (often faster than gawk) awk-interpreter"
|
| 11 |
HOMEPAGE="http://freshmeat.net/projects/mawk/"
|
| 12 |
SRC_URI="ftp://invisible-island.net/mawk/${MY_P}.tgz"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
S=${WORKDIR}/${MY_P}
|
| 20 |
|
| 21 |
src_configure() {
|
| 22 |
tc-export CC # stupid configure script
|
| 23 |
econf || die
|
| 24 |
}
|
| 25 |
|
| 26 |
src_install() {
|
| 27 |
emake install DESTDIR="${D}" || die
|
| 28 |
dodoc ACKNOWLEDGMENT CHANGES INSTALL README
|
| 29 |
}
|