| 1 |
# Copyright 1999-2009 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ack/ack-1.90.ebuild,v 1.3 2009/11/20 15:22:22 maekke Exp $
|
| 4 |
|
| 5 |
inherit perl-module bash-completion
|
| 6 |
|
| 7 |
DESCRIPTION="ack is a tool like grep, aimed at programmers with large trees of heterogeneous source code"
|
| 8 |
HOMEPAGE="http://www.petdance.com/ack/"
|
| 9 |
SRC_URI="mirror://cpan/authors/id/P/PE/PETDANCE/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="amd64 x86"
|
| 14 |
IUSE=""
|
| 15 |
|
| 16 |
SRC_TEST=do
|
| 17 |
|
| 18 |
DEPEND=">=dev-perl/File-Next-1.02
|
| 19 |
dev-lang/perl"
|
| 20 |
RDEPEND="${DEPEND}"
|
| 21 |
|
| 22 |
src_install() {
|
| 23 |
perl-module_src_install
|
| 24 |
dobashcompletion etc/ack.bash_completion.sh
|
| 25 |
}
|
| 26 |
|
| 27 |
pkg_postinst() {
|
| 28 |
perl-module_pkg_postinst
|
| 29 |
bash-completion_pkg_postinst
|
| 30 |
}
|