summaryrefslogtreecommitdiff
path: root/libraries/webkit/webkit.SlackBuild
diff options
context:
space:
mode:
authoralkos333 <me@alkos333.net>2010-05-12 17:42:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:42:15 +0200
commit1fcdb5ec04c64675e8fa06e80ec41d896cb970a1 (patch)
tree67cb5629c57bfef2a5b19532417efb754621d1aa /libraries/webkit/webkit.SlackBuild
parent1c16334243024cf556c2f46663104e9d306951e3 (diff)
downloadslackbuilds-1fcdb5ec04c64675e8fa06e80ec41d896cb970a1.tar.gz
libraries/webkit: Updated for version r45012
Diffstat (limited to 'libraries/webkit/webkit.SlackBuild')
-rw-r--r--libraries/webkit/webkit.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/webkit/webkit.SlackBuild b/libraries/webkit/webkit.SlackBuild
index 3d490af4e8..3a9aac489f 100644
--- a/libraries/webkit/webkit.SlackBuild
+++ b/libraries/webkit/webkit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=webkit
-VERSION=r35963
+VERSION=r45012
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG=_SBo}
@@ -35,12 +35,16 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -56,24 +60,19 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --enable-svg \
- --enable-svg-experimental \
- --enable-svg-animation \
--enable-fast-malloc \
--with-font-backend=pango \
--disable-static \
- --disable-samples \
- --disable-tests \
+ --build=$ARCH-slackware-linux \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-gzip -9 $PKG/usr/man/man?/*
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp INSTALL README WebKit/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/webkit.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/webkit.SlackBuild