wok-next view libwebkit/receipt @ rev 10562
openexr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 22:38:15 2011 +0200 (2011-05-25) |
parents | 84d1275ba7fe |
children | 688c0ce01164 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit"
4 VERSION="1.2.7"
5 CATEGORY="network"
6 SHORT_DESC="xHTML render library."
7 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
8 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
10 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt acl \
11 xorg-libXdamage libsoup gcc-lib-base libtasn1 util-linux-ng-uuid"
12 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
13 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
14 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
15 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
16 gobject-introspection-dev tar gettext"
17 MAINTAINER="mallory@sweetpeople.org"
18 SOURCE="webkit"
19 TARBALL="$SOURCE-$VERSION.tar.gz"
20 WEB_SITE="http://webkitgtk.org"
21 WGET_URL="$WEB_SITE/$TARBALL"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 patch -Np0 -i $stuff/introspection.patch &&
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --enable-introspection=yes \
34 --enable-video=no \
35 --enable-jit=yes \
36 --with-unicode-backend=glib &&
37 make -j1 && make -j1 DESTDIR=$DESTDIR install &&
38 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/bin
45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
46 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
47 }