summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libwfut/libwfut.SlackBuild11
-rw-r--r--libraries/libwfut/libwfut.info6
2 files changed, 10 insertions, 7 deletions
diff --git a/libraries/libwfut/libwfut.SlackBuild b/libraries/libwfut/libwfut.SlackBuild
index a10f5fd490..5122fb4a74 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 \
diff --git a/libraries/libwfut/libwfut.info b/libraries/libwfut/libwfut.info
index 5288d84f91..afb92a7787 100644
--- a/libraries/libwfut/libwfut.info
+++ b/libraries/libwfut/libwfut.info
@@ -1,8 +1,8 @@
PRGNAM="libwfut"
-VERSION="0.2.3"
+VERSION="0.2.3+c28cc3b"
HOMEPAGE="https://launchpad.net/libwfut/"
-DOWNLOAD="http://sourceforge.net/projects/worldforge/files/libwfut%20%28updates%20library%29/0.2.3/libwfut-0.2.3.tar.gz"
-MD5SUM="b212f840613c9b84a0de86693a7ee4bf"
+DOWNLOAD="https://github.com/worldforge/libwfut/archive/c28cc3ba4021a051f51bb4109121c607911ece26.tar.gz"
+MD5SUM="80e3d1245b003aacede152cf8f32b693"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""