summaryrefslogtreecommitdiffstats
path: root/network/icecat/icecat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/icecat/icecat.SlackBuild')
-rw-r--r--network/icecat/icecat.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/network/icecat/icecat.SlackBuild b/network/icecat/icecat.SlackBuild
index 3d7b3cd544..5306597ab8 100644
--- a/network/icecat/icecat.SlackBuild
+++ b/network/icecat/icecat.SlackBuild
@@ -25,7 +25,7 @@
# http://melikamp.com/features/slackbuilds.shtml
PRGNAM="icecat"
-VERSION="17.0.1"
+VERSION=${VERSION:-24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,21 +66,23 @@ tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz || exit 1
cd ${PRGNAM}-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cp -v .mozconfig{,.orig}
-sed '/--prefix/s:/usr/local:/usr:' .mozconfig.orig > .mozconfig
+sed -i '/--prefix/s:/usr/local:/usr:' .mozconfig
+sed -i '/--with-system-jpeg/s/^/#/' .mozconfig
+echo 'ac_add_options --enable-gio' >> .mozconfig
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
+make
make install DESTDIR=$PKG
# Stripping is done in .mozconfig, but there is something we can erase: