summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-11-20 04:27:03 +0000
committerTim Harder <radhermit@gentoo.org>2010-11-20 04:27:03 +0000
commit361a55ac53486a9b90662abc2854a3c75f382cc9 (patch)
tree9882c83da8f711ef6387f25e86ae7459129d6aed /app-misc/fdupes
parentuse scons-utils; honor LDFLAGS (diff)
downloadgentoo-2-361a55ac53486a9b90662abc2854a3c75f382cc9.tar.gz
gentoo-2-361a55ac53486a9b90662abc2854a3c75f382cc9.tar.bz2
gentoo-2-361a55ac53486a9b90662abc2854a3c75f382cc9.zip
Version bump (bug #333017 by funtoo@dendryt.pl). Dropped md5sum-external USE flag because it currently conflicts with the new early matching support for large files. Removed INSTALL file.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/fdupes')
-rw-r--r--app-misc/fdupes/ChangeLog12
-rw-r--r--app-misc/fdupes/fdupes-1.50_pre2.ebuild36
-rw-r--r--app-misc/fdupes/files/fdupes-1.50_pre2-makefile.patch23
3 files changed, 69 insertions, 2 deletions
diff --git a/app-misc/fdupes/ChangeLog b/app-misc/fdupes/ChangeLog
index a2506a6bd306..a9a04a9d89b5 100644
--- a/app-misc/fdupes/ChangeLog
+++ b/app-misc/fdupes/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/fdupes
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.29 2009/06/20 13:55:18 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.30 2010/11/20 04:27:03 radhermit Exp $
+
+*fdupes-1.50_pre2 (20 Nov 2010)
+
+ 20 Nov 2010; Tim Harder <radhermit@gentoo.org> +fdupes-1.50_pre2.ebuild,
+ +files/fdupes-1.50_pre2-makefile.patch:
+ Version bump (bug #333017 by funtoo@dendryt.pl). Dropped md5sum-external USE
+ flag because it currently conflicts with the new early matching support for
+ large files. Removed INSTALL file.
*fdupes-1.40-r4 (20 Jun 2009)
diff --git a/app-misc/fdupes/fdupes-1.50_pre2.ebuild b/app-misc/fdupes/fdupes-1.50_pre2.ebuild
new file mode 100644
index 000000000000..a5160bd23cb5
--- /dev/null
+++ b/app-misc/fdupes/fdupes-1.50_pre2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.50_pre2.ebuild,v 1.1 2010/11/20 04:27:03 radhermit Exp $
+
+EAPI=3
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}-${PV/_pre/-PR}"
+DESCRIPTION="identify/delete duplicate files residing within specified directories"
+HOMEPAGE="http://netdial.caribe.net/~adrian2/fdupes.html"
+SRC_URI="http://netdial.caribe.net/~adrian2/programs/${PN}/beta/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ dobin fdupes || die
+ doman fdupes.1
+ dodoc CHANGES CONTRIBUTORS README TODO
+}
diff --git a/app-misc/fdupes/files/fdupes-1.50_pre2-makefile.patch b/app-misc/fdupes/files/fdupes-1.50_pre2-makefile.patch
new file mode 100644
index 000000000000..ed2e9871d869
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.50_pre2-makefile.patch
@@ -0,0 +1,23 @@
+--- fdupes-1.50-PR2/Makefile.orig 2010-11-19 19:05:18.152330536 -0800
++++ fdupes-1.50-PR2/Makefile 2010-11-19 19:06:00.998659992 -0800
+@@ -72,9 +72,9 @@
+ # Make Configuration
+ #
+ CC = gcc
+-COMPILER_OPTIONS = -Wall -O -g
++COMPILER_OPTIONS = -Wall
+
+-CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
++CFLAGS += $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) $(OMIT_GETOPT_LONG)
+
+ INSTALL_PROGRAM = $(INSTALL) -c -m 0755
+ INSTALL_DATA = $(INSTALL) -c -m 0644
+@@ -94,7 +94,7 @@
+ all: fdupes
+
+ fdupes: $(OBJECT_FILES)
+- $(CC) $(CFLAGS) -o fdupes $(OBJECT_FILES)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o fdupes $(OBJECT_FILES)
+
+ installdirs:
+ test -d $(BIN_DIR) || -$(MKDIR) $(BIN_DIR)