wok-current view libwebkit/receipt @ rev 8053

Up: cherokee to 1.0.18.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 16:12:21 2011 +0000 (2011-01-20)
parents d2b3371df7a8
children 82085c4d9c72
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 SOURCE="webkit"
5 VERSION="1.2.6"
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
27 patch -Np0 -i ../stuff/introspection.patch
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --enable-introspection=yes \
33 --enable-video=no \
34 --enable-jit=yes \
35 --with-unicode-backend=glib \
36 $CONFIGURE_ARGS &&
37 make -j1 && make DESTDIR=$PWD/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib $fs/usr/bin
44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
45 cp -a $src/Programs/GtkLauncher $fs/usr/bin/
46 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
47 }