| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/renameutils/renameutils-0.12.0.ebuild,v 1.4 2012/06/17 19:57:21 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit autotools eutils
|
| 8 |
|
| 9 |
DESCRIPTION="Use your favorite text editor to rename files"
|
| 10 |
HOMEPAGE="http://www.nongnu.org/renameutils/"
|
| 11 |
SRC_URI="http://savannah.nongnu.org/download/renameutils/${P}.tar.gz"
|
| 12 |
LICENSE="GPL-3"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 ppc x86"
|
| 15 |
IUSE="nls"
|
| 16 |
|
| 17 |
DEPEND=">=sys-libs/readline-5.0-r2"
|
| 18 |
RDEPEND="${DEPEND}"
|
| 19 |
|
| 20 |
src_prepare() {
|
| 21 |
epatch \
|
| 22 |
"${FILESDIR}/${P}-typo.patch" \
|
| 23 |
"${FILESDIR}/${P}-autopoint.patch"
|
| 24 |
eautoreconf
|
| 25 |
}
|
| 26 |
|
| 27 |
src_configure() {
|
| 28 |
econf $(use_enable nls)
|
| 29 |
}
|