#Maintainer: Christian Dersch <chrisdersch~at~googlemail~dot~com>

pkgname=webkit
pkgver=1.2.7
pkgrel=1cd
source=(http://webkitgtk.org/webkit-$pkgver.tar.gz)
url=http://www.webkit.org
docs=("ChangeLog" "INSTALL" "LICENSE" "README")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"WebKit (Web Browser Engine)"
"WebKit is an open source web browser engine. WebKit is also the name"
"of the Mac OS X system framework version of the engine that's used by"
"Safari, Dashboard, Mail, and many other OS X applications. WebKit's"
"HTML and JavaScript code began as a branch of the KHTML and KJS"
"libraries from KDE. "
"This package contains the GTK port of WebKit."
""
"http://webkit.org  http://webkitgtk.org"
)


build() {
	cd $startdir/src/webkit-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--enable-database \
		--enable-icon-database \
		--enable-video \
		--enable-svg \
		--build=$arch-slackware-linux || return 1
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}