summaryrefslogtreecommitdiff
path: root/misc/megatunix/megatunix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/megatunix/megatunix.SlackBuild')
-rw-r--r--misc/megatunix/megatunix.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/misc/megatunix/megatunix.SlackBuild b/misc/megatunix/megatunix.SlackBuild
index 6adb54c0e8..cc47791208 100644
--- a/misc/megatunix/megatunix.SlackBuild
+++ b/misc/megatunix/megatunix.SlackBuild
@@ -17,18 +17,14 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=megatunix
-VERSION=0.9.19_beta1
+VERSION=0.9.23
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRC_VERSION="$(printf $VERSION | tr _ -)"
-
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -57,12 +53,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRC_VERSION
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
-cd $PRGNAM-$SRC_VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \