aboutsummaryrefslogtreecommitdiff
path: root/libraries/libwfut/libwfut.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libwfut/libwfut.SlackBuild')
-rw-r--r--libraries/libwfut/libwfut.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/libwfut/libwfut.SlackBuild b/libraries/libwfut/libwfut.SlackBuild
index a10f5fd490e6..5122fb4a7480 100644
--- a/libraries/libwfut/libwfut.SlackBuild
+++ b/libraries/libwfut/libwfut.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libwfut
-VERSION=${VERSION:-0.2.3}
+VERSION=${VERSION:-0.2.3+c28cc3b}
+COMMIT="c28cc3ba4021a051f51bb4109121c607911ece26"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz || tar xvf $CWD/$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +70,8 @@ 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 {} \;
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \