blob: 0544fb5764360b7a649fd9d8c021d0f41b645487 (
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
29
30
31
32
33
34
35
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.10 2004/12/11 18:09:56 vapier Exp $
inherit toolchain-funcs
DESCRIPTION="tool for easily renaming files"
HOMEPAGE="http://rename.berlios.de/"
SRC_URI="http://rename.berlios.de/rename-1.3.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc ppc64 ppc-macos x86"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e '/^CFLAGS/s:-O3:@CFLAGS@:' \
-e '/strip /s:.*::' \
Makefile.in
tc-export CC
}
src_install() {
newbin rename xmrename || die
doman rename.1
dodoc README ChangeLog
}
pkg_postinst() {
ewarn "This has been renamed to 'xmrename' to avoid"
ewarn "a naming conflict with sys-apps/util-linux."
}
|