summaryrefslogtreecommitdiffstats
path: root/source/a/dosfstools
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-02-01 03:14:27 +0000
committer Eric Hameleers <alien@slackware.com>2021-02-01 08:59:51 +0100
commit4e53e75339d9a66422c8dcfbfa09a177c3622160 (patch)
tree3bdd585cb361c59d8bd4d1b2668bb96fa4dfb0b0 /source/a/dosfstools
parent2c78f43e266f5e7d7b0903f1199441ed19451a08 (diff)
downloadcurrent-4e53e75339d9a66422c8dcfbfa09a177c3622160.tar.gz
current-4e53e75339d9a66422c8dcfbfa09a177c3622160.tar.xz
Mon Feb 1 03:14:27 UTC 202120210201031427
d/python-pip-21.0.1-x86_64-1.txz: Upgraded. e/emacs-27.1-x86_64-4.txz: Rebuilt. Rebuilt using --with-pdumper=no and --with-dumping=unexec so that both emacs-27.1-no-x11 and emacs-27.1-with-x11 will work with the installed files. Thanks to Tonus. extra/brltty/brltty-6.3-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/dosfstools')
-rwxr-xr-xsource/a/dosfstools/dosfstools.SlackBuild15
-rw-r--r--source/a/dosfstools/dosfstools.url2
2 files changed, 12 insertions, 5 deletions
diff --git a/source/a/dosfstools/dosfstools.SlackBuild b/source/a/dosfstools/dosfstools.SlackBuild
index 148b6f2c8..64d17d33c 100755
--- a/source/a/dosfstools/dosfstools.SlackBuild
+++ b/source/a/dosfstools/dosfstools.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2011, 2013, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2011, 2013, 2017, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dosfstools
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -68,7 +68,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
cd $PKGNAM-$VERSION
chown -R root:root .
@@ -78,6 +78,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/source/a/dosfstools/dosfstools.url b/source/a/dosfstools/dosfstools.url
index 42670d944..0921f7fd1 100644
--- a/source/a/dosfstools/dosfstools.url
+++ b/source/a/dosfstools/dosfstools.url
@@ -1 +1 @@
-lftpget https://github.com/dosfstools/dosfstools/releases/download/v4.1/dosfstools-4.1.tar.xz{,.sig}
+https://github.com/dosfstools/dosfstools