summaryrefslogtreecommitdiff
blob: 7a162729d7bf85b91611567a3941481af12c92a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A simple utility that allows you to easily rename multiple files."
HOMEPAGE="http://home.hccnet.nl/paul.schuurmans/linux/"
SRC_URI="http://home.hccnet.nl/paul.schuurmans/linux/download/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=sys-libs/ncurses-5.3"

src_unpack() {
	unpack ${A}
	cd "${S}"

	# Replace the CFLAGS with our own custom CFLAGS
	sed -i -e "/^CFLAGS =/s:-g:${CFLAGS}:" \
		Makefile || die "sed Makefile failed"
}

src_install() {
	dodoc AUTHORS README TODO ChangeLog
	dobin cfnrename
}