diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2013-12-27 07:19:08 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:13:56 -0600 |
commit | 19e7cabb1e7796c5f196e0143c868098b562b476 (patch) | |
tree | 00f80c1f28142f45350dfa8a564c22968fb9f3a9 /system/extundelete/extundelete.SlackBuild | |
parent | e9f10174ebd97bc2aaa5ba75e70652b7c6765d93 (diff) |
system/extundelete: Updated for version 0.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/extundelete/extundelete.SlackBuild')
-rw-r--r-- | system/extundelete/extundelete.SlackBuild | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/system/extundelete/extundelete.SlackBuild b/system/extundelete/extundelete.SlackBuild index 00d79f9ba140..5707b908969c 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 |