aboutsummaryrefslogtreecommitdiff
path: root/system/fdupes
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave {at} gmail {dot} com>2010-05-13 00:40:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:40:13 +0200
commit790ba4f85c846acab15b24dce9c17711e07ca9be (patch)
treedaaecf562237987716aa41faecacb23c1dd16924 /system/fdupes
parent4571375db7cc0c7842de76ea0ca4ab018ee6ecd2 (diff)
system/fdupes: Updated for version 1.40
Diffstat (limited to 'system/fdupes')
-rw-r--r--system/fdupes/README7
-rw-r--r--system/fdupes/fdupes.SlackBuild13
-rw-r--r--system/fdupes/fdupes.info2
-rw-r--r--system/fdupes/slack-desc20
4 files changed, 25 insertions, 17 deletions
diff --git a/system/fdupes/README b/system/fdupes/README
index 9aa0e81f2c0b5..ad2b1c4d06fde 100644
--- a/system/fdupes/README
+++ b/system/fdupes/README
@@ -1,9 +1,2 @@
FDUPES is a program for identifying or deleting duplicate files residing
within specified directories.
-
-The current version of fdupes is distributed as fdupes-1.40.tar.gz. No
-later version has been officially released. Users should get this version,
-as it's presumably the most reliable. Developers and beta testers should
-look at the versions below.
-
-http://netdial.caribe.net/~adrian2/fdupes.html
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild
index cbc26afc2b6ed..15815e2139181 100644
--- a/system/fdupes/fdupes.SlackBuild
+++ b/system/fdupes/fdupes.SlackBuild
@@ -1,10 +1,10 @@
#!/bin/sh
# Slackware build script for duplicate file finder fdupes
-#
+
# 17/12/2008 - Original script.
# 28/05/2009 - Updated for Slackware64 and general tidy up.
-#
+
# Copyright 2008, 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -24,7 +24,6 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
PRGNAM=fdupes
VERSION=1.40
@@ -39,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,6 +58,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Use our CFLAGS
+sed -i "s%-Wall%-Wall $SLKCFLAGS%" Makefile
+
# make the program directories since the Makefile doesn't
mkdir -p $PKG/usr/man/man1 $PKG/usr/bin
@@ -81,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/fdupes/fdupes.info b/system/fdupes/fdupes.info
index 9af960580d483..893e4a75f0f27 100644
--- a/system/fdupes/fdupes.info
+++ b/system/fdupes/fdupes.info
@@ -3,6 +3,8 @@ VERSION="1.40"
HOMEPAGE="http://netdial.caribe.net/~adrian2/fdupes.html"
DOWNLOAD="http://netdial.caribe.net/~adrian2/programs/fdupes-1.40.tar.gz"
MD5SUM="11de9ab4466089b6acbb62816b30b189"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Pierre Cazenave"
EMAIL="pwcazenave {at} gmail {dot} com"
APPROVED="dsomero"
diff --git a/system/fdupes/slack-desc b/system/fdupes/slack-desc
index 1f5ea2ee9422b..d4e388a2f53a7 100644
--- a/system/fdupes/slack-desc
+++ b/system/fdupes/slack-desc
@@ -1,11 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
fdupes: FDUPES (program for identifying or deleting duplicate files)
fdupes:
fdupes: FDUPES is a program for identifying or deleting duplicate files
fdupes: residing within specified directories.
fdupes:
-fdupes: The current version of fdupes is distributed as
-fdupes: fdupes-1.40.tar.gz. No later version has been officially released.
-fdupes: Users should get this version, as it's presumably the most reliable.
-fdupes:
-fdupes: http://premium.caribe.net/~adrian2/fdupes.html
-fdupes: \ No newline at end of file
+fdupes: Homepage: http://premium.caribe.net/~adrian2/fdupes.html
+fdupes:
+fdupes:
+fdupes:
+fdupes:
+fdupes: