wok-next view libwebkit/receipt @ rev 7443

Added openexr and ilmbase to imagemagick depends. Needed for display to work.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 29 17:47:05 2010 +0000 (2010-11-29)
parents 05bdabc85a94
children c23a615a931a
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 SOURCE="webkit"
5 VERSION="1.2.5"
6 CATEGORY="network"
7 SHORT_DESC="xHTML render library."
8 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
10 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
11 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt acl \
12 xorg-libXdamage libsoup gcc-lib-base libtasn1 util-linux-ng-uuid"
13 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
14 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
15 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
16 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
17 gobject-introspection-dev tar gettext"
18 MAINTAINER="mallory@sweetpeople.org"
19 TARBALL="$SOURCE-$VERSION.tar.gz"
20 WEB_SITE="http://webkitgtk.org"
21 WGET_URL="$WEB_SITE/$TARBALL"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 # When fully implemented, this ./configure option will eliminate the large icu dependency
29 # There is a planned set of 4 patches, of which only the first has been implemented to date
30 # https://bugs.webkit.org/show_bug.cgi?id=15914
31 # --with-unicode-backend=glib
33 patch -Np0 -i ../stuff/introspection.patch
34 ./configure \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 --enable-introspection=yes \
39 --enable-video=no \
40 --enable-jit=yes \
41 --with-unicode-backend=glib \
42 $CONFIGURE_ARGS &&
43 make -j4 && make DESTDIR=$PWD/_pkg install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib $fs/usr/bin
50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
51 cp -a $src/Programs/GtkLauncher $fs/usr/bin/
52 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
53 }