blob: 5bae93fd778df125ff7a628f76d2c673c4e2f7d7 (
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-2012 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="~amd64 ~x86"
IUSE=""
DEPEND=">=sys-libs/ncurses-5.3"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
# Replace the CFLAGS with our own custom CFLAGS
sed -i -e "s:^CFLAGS =:CFLAGS ?=:" Makefile || die "sed Makefile failed"
}
src_install() {
dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
dobin cfnrename || die "dobin failed"
}
|