summaryrefslogtreecommitdiff
path: root/system/extundelete/extundelete.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/extundelete/extundelete.SlackBuild')
-rw-r--r--system/extundelete/extundelete.SlackBuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/system/extundelete/extundelete.SlackBuild b/system/extundelete/extundelete.SlackBuild
index 00d79f9ba1..5707b90896 100644
--- a/system/extundelete/extundelete.SlackBuild
+++ b/system/extundelete/extundelete.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for extundelete
-# Copyright (c) 2010 Markus Reichelt, Aachen, DE
+# Copyright (c) 2010-2013 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -23,12 +23,11 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
-# 2010 Oct 22 - initial release
+# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=extundelete
-VERSION=${VERSION:-0.2.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.2.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -68,25 +67,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix build (thanks gentoo)
-patch -p0 < $CWD/extundelete-0.2.0-build.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin $PKG/usr/doc
DFLAGS=$LDFLAGS \
CFLAGS=$SLKCFLAGS \
-./configure \
- --prefix=$PKG/usr
+./configure --prefix=$PKG/usr
make
make install
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION