aboutsummaryrefslogtreecommitdiff
path: root/system/exfat-utils/exfat-utils.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-09-03 23:06:24 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-05 18:24:45 +0700
commit23cb357e87bdc45ee799bbb5f0905682cacbddef (patch)
treef1c3d5b60bd5a2c2cc02a004ae53b873bcfef774 /system/exfat-utils/exfat-utils.SlackBuild
parent5edcd87f532db7a5fa5e76b06ac55ca236b0f8d5 (diff)
system/exfat-utils: Updated for version 1.2.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/exfat-utils/exfat-utils.SlackBuild')
-rw-r--r--system/exfat-utils/exfat-utils.SlackBuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/system/exfat-utils/exfat-utils.SlackBuild b/system/exfat-utils/exfat-utils.SlackBuild
index c11ca2b26bf63..feec83a078ea9 100644
--- a/system/exfat-utils/exfat-utils.SlackBuild
+++ b/system/exfat-utils/exfat-utils.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=exfat-utils
-VERSION=${VERSION:-1.1.1}
+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