aboutsummaryrefslogtreecommitdiff
path: root/system/fuse-exfat/fuse-exfat.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-09-03 23:05:45 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-05 18:24:45 +0700
commit5edcd87f532db7a5fa5e76b06ac55ca236b0f8d5 (patch)
treebe0a67b15ef6c8d1b80ccc78cec02ae6b55491f0 /system/fuse-exfat/fuse-exfat.SlackBuild
parent0fff19be2897510a6b2ae3b629e7cefda8d874a2 (diff)
system/fuse-exfat: Updated for version 1.2.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/fuse-exfat/fuse-exfat.SlackBuild')
-rw-r--r--system/fuse-exfat/fuse-exfat.SlackBuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/system/fuse-exfat/fuse-exfat.SlackBuild b/system/fuse-exfat/fuse-exfat.SlackBuild
index 64be2dd5e9f4d..b20b2b9601218 100644
--- a/system/fuse-exfat/fuse-exfat.SlackBuild
+++ b/system/fuse-exfat/fuse-exfat.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fuse-exfat
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,13 +70,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-scons install DESTDIR=$PKG/sbin/
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
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
-cp -a ChangeLog COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install