wok-6.x view libwebkit/receipt @ rev 6401

gcc+gcj: add objective-C support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 25 10:58:49 2010 +0200 (2010-09-25)
parents e75ceac4dfdc
children 8ce6203e1c3a
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 SOURCE="webkit"
5 VERSION="1.2.4"
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"
17 MAINTAINER="mallory@sweetpeople.org"
18 TARBALL="$SOURCE-$VERSION.tar.gz"
19 WEB_SITE="http://webkitgtk.org"
20 WGET_URL="$WEB_SITE/$TARBALL"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
27 # When fully implemented, this ./configure option will eliminate the large icu dependency
28 # There is a planned set of 4 patches, of which only the first has been implemented to date
29 # https://bugs.webkit.org/show_bug.cgi?id=15914
30 # --with-unicode-backend=glib
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --enable-video=no \
37 --enable-svg=no \
38 --with-unicode-backend=glib \
39 $CONFIGURE_ARGS &&
40 make -j4 && make DESTDIR=$PWD/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib $fs/usr/bin
47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
48 cp -a $src/Programs/GtkLauncher $fs/usr/bin/
49 }