summaryrefslogtreecommitdiff
path: root/system/f2fs_tools/f2fs_tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/f2fs_tools/f2fs_tools.SlackBuild')
-rw-r--r--system/f2fs_tools/f2fs_tools.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/f2fs_tools/f2fs_tools.SlackBuild b/system/f2fs_tools/f2fs_tools.SlackBuild
index 9d86ab685a..198eb74854 100644
--- a/system/f2fs_tools/f2fs_tools.SlackBuild
+++ b/system/f2fs_tools/f2fs_tools.SlackBuild
@@ -4,7 +4,8 @@
# Michales (clavisound) Michaloudes korgie@gmail.com <2014>
PRGNAM=f2fs_tools
-VERSION=${VERSION:-1.4.0}
+SRCNAM=f2fs-tools
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,17 +41,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-# canonicalize folder name
-mv f2fs-tools $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-v$VERSION
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+cd $SRCNAM-v$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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS"