/[gentoo-x86]/sys-apps/rename/rename-1.3.ebuild
Gentoo

Contents of /sys-apps/rename/rename-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.27 - (show annotations) (download)
Mon Feb 23 20:29:27 2015 UTC (3 years, 1 month ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +3 -3 lines
Fix SRC_URI, bug #537804. Bump EAPI. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/52 by mm1ke.

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/rename/rename-1.3.ebuild,v 1.26 2014/10/16 19:14:08 vapier Exp $
4
5 inherit toolchain-funcs eutils
6
7 DESCRIPTION="tool for easily renaming files"
8 HOMEPAGE="http://rename.sourceforge.net/"
9 SRC_URI="http://${PN}/sourceforge.net/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
14 IUSE=""
15
16 src_unpack() {
17 unpack ${A}
18 cd "${S}"
19 sed -i \
20 -e '/^CFLAGS/s:-O3:@CFLAGS@:' \
21 -e '/strip /s:.*::' \
22 Makefile.in
23 epatch "${FILESDIR}"/${P}-rename.patch
24 epatch "${FILESDIR}"/${P}-build.patch
25 epatch "${FILESDIR}"/${P}-gcc44.patch
26 tc-export CC
27 }
28
29 src_install() {
30 newbin rename renamexm || die
31 newman rename.1 renamexm.1
32 dodoc README ChangeLog
33 }
34
35 pkg_postinst() {
36 ewarn "This has been renamed to 'renamexm' to avoid"
37 ewarn "a naming conflict with sys-apps/util-linux."
38 }

  ViewVC Help
Powered by ViewVC 1.1.20