summaryrefslogtreecommitdiff
path: root/network/icecat/icecat.SlackBuild
diff options
context:
space:
mode:
authormelikamp <melikamp@melikamp.net>2013-12-15 15:49:14 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:30 -0600
commit103f2184592c96aba1e8e57d94ffd3552340c51b (patch)
tree10f761a5f6ce836177a9dcd4edec9afda445652e /network/icecat/icecat.SlackBuild
parenta41daeee9bff7684585b17f721919ae9ad76a16c (diff)
downloadslackbuilds-103f2184592c96aba1e8e57d94ffd3552340c51b.tar.gz
network/icecat: Updated for version 24.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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: