wok-next annotate webkit-r/receipt @ rev 11980
remove extensions from desktop files
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 15:07:47 2012 -0800 (2012-03-02) |
parents | 10cb3be70a77 |
children | 73641efed1cc |
rev | line source |
---|---|
pankso@876 | 1 # SliTaz package receipt. |
pankso@876 | 2 |
pankso@876 | 3 PACKAGE="webkit-r" |
devl547@11273 | 4 VERSION="99690" |
pascal@1423 | 5 CATEGORY="network" |
pankso@876 | 6 SHORT_DESC="xHTML render library." |
pascal@11537 | 7 DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite \ |
pascal@11537 | 8 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pascal@11537 | 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@11537 | 10 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \ |
pascal@5007 | 11 xorg-libXdamage gcc-lib-base" |
pascal@11537 | 12 BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \ |
pascal@11537 | 13 sqlite-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \ |
pascal@11543 | 14 gst-plugins-base-dev gstreamer-dev util-linux-ng-uuid-dev" |
pankso@876 | 15 MAINTAINER="pankso@slitaz.org" |
pankso@876 | 16 TARBALL="WebKit-r${VERSION}.tar.bz2" |
pankso@876 | 17 WEB_SITE="http://webkit.org/" |
pankso@876 | 18 WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL" |
pankso@876 | 19 |
pankso@876 | 20 # Rules to configure and make the package. |
pankso@876 | 21 compile_rules() |
pankso@876 | 22 { |
pankso@2041 | 23 mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null |
pankso@876 | 24 cd $src |
pascal@9390 | 25 sed -i 's/class TextBreakIterator/typedef struct UBreakIterator TextBreakIterator/' \ |
pascal@9390 | 26 WebCore/platform/text/TextBreakIterator.h |
pankso@876 | 27 ./autogen.sh \ |
pankso@876 | 28 --prefix=/usr \ |
pankso@876 | 29 --mandir=/usr/share/man \ |
erjo@11505 | 30 --with-gtk=2.0 \ |
pascal@1514 | 31 $CONFIGURE_ARGS && |
devl547@11246 | 32 make $MAKEFLAGS && |
pankso@876 | 33 make DESTDIR=$PWD/_pkg install |
pankso@876 | 34 } |
pankso@876 | 35 |
pankso@876 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@876 | 37 genpkg_rules() |
pankso@876 | 38 { |
pankso@876 | 39 mkdir -p $fs/usr/lib |
pankso@876 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@876 | 41 } |