summaryrefslogtreecommitdiff
path: root/libraries/libqinfinity/libqinfinity.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libqinfinity/libqinfinity.SlackBuild')
-rw-r--r--libraries/libqinfinity/libqinfinity.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libqinfinity/libqinfinity.SlackBuild b/libraries/libqinfinity/libqinfinity.SlackBuild
index 4c6c3335b9..5a4e61374c 100644
--- a/libraries/libqinfinity/libqinfinity.SlackBuild
+++ b/libraries/libqinfinity/libqinfinity.SlackBuild
@@ -1,9 +1,11 @@
#!/bin/sh
# Slackware build script for libqinfinity, bailey@akamai.com
+# sources for this are packaged from
+# https://gitorious.org/~pkern/libqinfinity/libinfinity-forward-port
PRGNAM=libqinfinity
-VERSION=${VERSION:-1.0b5}
+VERSION=${VERSION:-20110501_5955f93}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -49,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for glib>=2.31
+sed -i "s|/gerror||" libqinfinity/request.h test/guibrowser.h
+
mkdir -p build
cd build
cmake \
@@ -56,7 +61,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG