summaryrefslogtreecommitdiff
path: root/libraries/xulrunner/xulrunner.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xulrunner/xulrunner.SlackBuild')
-rw-r--r--libraries/xulrunner/xulrunner.SlackBuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/libraries/xulrunner/xulrunner.SlackBuild b/libraries/xulrunner/xulrunner.SlackBuild
index 0c10c50c6a..a69cc9001f 100644
--- a/libraries/xulrunner/xulrunner.SlackBuild
+++ b/libraries/xulrunner/xulrunner.SlackBuild
@@ -28,16 +28,14 @@
PRGNAM=xulrunner
-VERSION=${VERSION:-1.9.2.8}
+VERSION=${VERSION:-1.9.2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# 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
@@ -85,20 +83,25 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-system-lcms \
- --enable-system-sqlite \
- --enable-optimize \
+ --disable-system-sqlite \
+ --enable-optimize="${CFLAGS}" \
--with-system-zlib \
--with-system-jpeg \
--enable-system-cairo \
--with-system-bz2 \
+ --enable-libxul \
--enable-safe-browsing \
- --enable-image-encoder=all \
+ --enable-image-encoders=all \
+ --enable-image-decoders=all \
+ --enable-default-toolkit=cairo-gtk2 \
--enable-application=xulrunner \
--disable-mailnews \
--disable-crashreporter \
--disable-installer \
--disable-updater \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux \
+ --target=$ARCH-slackware-linux
make
make install DESTDIR=$PKG