wok-current annotate libwebkit/receipt @ rev 8790
Fix bdeps: gnustep packages needs gnustep-make to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:07:21 2011 +0100 (2011-02-22) |
parents | 82085c4d9c72 |
children | 911be1281672 |
rev | line source |
---|---|
mallory@3146 | 1 # SliTaz package receipt. |
mallory@3146 | 2 |
mallory@3146 | 3 PACKAGE="libwebkit" |
slaxemulator@8498 | 4 VERSION="1.2.7" |
mallory@3146 | 5 CATEGORY="network" |
mallory@3146 | 6 SHORT_DESC="xHTML render library." |
slaxemulator@5372 | 7 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \ |
slaxemulator@5372 | 8 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
slaxemulator@5372 | 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
slaxemulator@5372 | 10 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt acl \ |
slaxemulator@5372 | 11 xorg-libXdamage libsoup gcc-lib-base libtasn1 util-linux-ng-uuid" |
slaxemulator@5372 | 12 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \ |
slaxemulator@5372 | 13 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \ |
slaxemulator@5372 | 14 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \ |
slaxemulator@6687 | 15 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \ |
slaxemulator@6694 | 16 gobject-introspection-dev tar gettext" |
mallory@3146 | 17 MAINTAINER="mallory@sweetpeople.org" |
slaxemulator@8530 | 18 SOURCE="webkit" |
mallory@3146 | 19 TARBALL="$SOURCE-$VERSION.tar.gz" |
mallory@3146 | 20 WEB_SITE="http://webkitgtk.org" |
mallory@3146 | 21 WGET_URL="$WEB_SITE/$TARBALL" |
mallory@3146 | 22 |
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 |
slaxemulator@6687 | 28 patch -Np0 -i ../stuff/introspection.patch |
mallory@3146 | 29 ./configure \ |
mallory@3146 | 30 --prefix=/usr \ |
mallory@3146 | 31 --infodir=/usr/share/info \ |
mallory@3146 | 32 --mandir=/usr/share/man \ |
slaxemulator@6687 | 33 --enable-introspection=yes \ |
slaxemulator@8530 | 34 --enable-video=no \ |
slaxemulator@6466 | 35 --enable-jit=yes \ |
slaxemulator@8530 | 36 --with-unicode-backend=glib && |
slaxemulator@8530 | 37 make -j1 && make DESTDIR=$DESTDIR install |
slaxemulator@8530 | 38 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin |
mallory@3146 | 39 } |
mallory@3146 | 40 |
mallory@3146 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3146 | 42 genpkg_rules() |
mallory@3146 | 43 { |
jozee@5027 | 44 mkdir -p $fs/usr/lib $fs/usr/bin |
mallory@3146 | 45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8530 | 46 cp -a $_pkg/usr/bin/GtkLauncher $fs/usr/bin/ |
slaxemulator@6956 | 47 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
mallory@3146 | 48 } |