summaryrefslogtreecommitdiff
path: root/libraries/libwfut/libwfut.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-21 22:16:26 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-23 01:16:52 +0000
commit21843dd2c072c5518f9a8ac8bfeb4f36847e4adf (patch)
tree389eec3e73ac60060ce3dee95bbe4a0aedac9e6e /libraries/libwfut/libwfut.SlackBuild
parentfe97aa9aae332d5234ee295d73c66975121f435b (diff)
downloadslackbuilds-21843dd2c072c5518f9a8ac8bfeb4f36847e4adf.tar.gz
libraries/libwfut: Updated for version 0.2.3+c28cc3b (git).
Fixes build failure with libsigc++-2.6.2. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 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 \