contrib/webkit/Pkgfile

46 lines
961 B
Plaintext
Raw Normal View History

2009-11-22 17:01:12 +01:00
# Description: Small, efficient and fast rendering engine for Web Browsers.
2010-01-28 10:23:28 +01:00
# URL: http://www.webkitgtk.org/
2009-11-22 17:01:12 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
2013-06-01 02:40:48 +02:00
# Depends on: enchant gst-plugins-base1 gtk3 harfbuzz-icu libsoup glu ruby gperf libwebp libsecret
2009-11-22 17:01:12 +01:00
name=webkit
2014-06-02 14:24:13 +02:00
version=2.4.3
2013-06-14 00:53:04 +02:00
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
2009-11-22 17:01:12 +01:00
build() {
2012-11-05 04:50:43 +01:00
cd webkitgtk-$version
2009-11-22 17:01:12 +01:00
2013-06-01 02:40:48 +02:00
mkdir build-gtk2 build-gtk3
2013-06-01 02:40:48 +02:00
local config="\
--prefix=/usr \
--mandir=/usr/man \
2013-06-01 02:40:48 +02:00
--disable-geolocation \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit"
2012-11-05 10:42:51 +01:00
cd build-gtk2
../configure $config \
--libexecdir=/usr/lib/webkitgtk2 \
--with-gtk=2.0 \
--disable-webkit2
make
make DESTDIR=$PKG install
2012-11-05 10:42:51 +01:00
cd ../build-gtk3
../configure $config \
--libexecdir=/usr/lib/webkitgtk3
2009-11-22 17:01:12 +01:00
make
make DESTDIR=$PKG install
2012-11-05 10:42:51 +01:00
rm -r $PKG/usr/share/locale
2009-11-22 17:01:12 +01:00
}