wok-4.x annotate libwebkit/receipt @ rev 11714
R: Fix missing dep (Thanks moulefrite)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 19 22:08:06 2012 +0100 (2012-02-19) |
parents | 017bd485590b |
children | 88250b081917 |
rev | line source |
---|---|
mallory@3146 | 1 # SliTaz package receipt. |
mallory@3146 | 2 |
mallory@3146 | 3 PACKAGE="libwebkit" |
slaxemulator@11247 | 4 VERSION="1.6.1" |
mallory@3146 | 5 CATEGORY="network" |
mallory@3146 | 6 SHORT_DESC="xHTML render library." |
pankso@10801 | 7 MAINTAINER="mallory@sweetpeople.org" |
pankso@10801 | 8 SOURCE="webkit" |
pankso@10801 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@10801 | 10 WEB_SITE="http://webkitgtk.org/" |
pankso@10801 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@10801 | 12 |
slaxemulator@5372 | 13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \ |
slaxemulator@5372 | 14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pankso@10801 | 15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pankso@10801 | 16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \ |
pankso@10801 | 17 gcc-lib-base libtasn1 util-linux-ng-uuid glib-networking" |
slaxemulator@5372 | 18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \ |
slaxemulator@5372 | 19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \ |
slaxemulator@5372 | 20 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \ |
slaxemulator@6687 | 21 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \ |
pankso@10801 | 22 gobject-introspection-dev tar gettext glib-networking-dev" |
slaxemulator@8530 | 23 |
mallory@3146 | 24 # Rules to configure and make the package. |
mallory@3146 | 25 compile_rules() |
mallory@3146 | 26 { |
mallory@3146 | 27 cd $src |
mallory@3146 | 28 ./configure \ |
mallory@3146 | 29 --prefix=/usr \ |
mallory@3146 | 30 --infodir=/usr/share/info \ |
mallory@3146 | 31 --mandir=/usr/share/man \ |
slaxemulator@11247 | 32 --enable-introspection=no \ |
slaxemulator@8530 | 33 --enable-video=no \ |
slaxemulator@6466 | 34 --enable-jit=yes \ |
slaxemulator@11247 | 35 --with-unicode-backend=glib \ |
slaxemulator@11247 | 36 --with-gtk=2.0 \ |
slaxemulator@11247 | 37 $CONFIGURE_ARGS && |
gokhlayeh@11380 | 38 make all stamp-po && make DESTDIR=$DESTDIR install && |
slaxemulator@8530 | 39 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin |
mallory@3146 | 40 } |
mallory@3146 | 41 |
mallory@3146 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3146 | 43 genpkg_rules() |
mallory@3146 | 44 { |
jozee@5027 | 45 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@11251 | 46 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
mallory@3146 | 47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@3146 | 48 } |