# Tanım: Qt4 lib için QtWebkit modülü
# Url: http://trac.webkit.org/wiki/QtWebKit
# Paketçi: milisarge
# Gerekler: ruby python qt4

PKGMK_IGNORE_UNPACK="yes"


isim=qtwebkit
surum=2.3.4
devir=1
_isim=qt-everywhere-opensource-src-${_qtversion}
kaynak=(http://download.kde.org/stable/qtwebkit-2.3/$surum/src/qtwebkit-$surum.tar.gz
	http://www.linuxfromscratch.org/patches/blfs/svn/qtwebkit-2.3.4-gcc5-1.patch)
derle() {
mkdir qtwebkit-$surum
cd qtwebkit-$surum
tar xf ../qtwebkit-$surum.tar.gz
source setqt4
patch -Np1 -i ../qtwebkit-2.3.4-gcc5-1.patch
[ -z $QTDIR ] && QTDIR="/usr"

Tools/Scripts/build-webkit --qt --no-webkit2 --prefix=$QT4PREFIX
make INSTALL_ROOT=$PKG -C WebKitBuild/Release install
}
