wok-4.x annotate libwebkit/receipt @ rev 6259

merge
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 14 10:41:31 2010 +0000 (2010-09-14)
parents e75ceac4dfdc
children 8ce6203e1c3a
rev   line source
mallory@3146 1 # SliTaz package receipt.
mallory@3146 2
mallory@3146 3 PACKAGE="libwebkit"
mallory@3146 4 SOURCE="webkit"
slaxemulator@6139 5 VERSION="1.2.4"
mallory@3146 6 CATEGORY="network"
mallory@3146 7 SHORT_DESC="xHTML render library."
slaxemulator@5372 8 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
slaxemulator@5372 9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
slaxemulator@5372 10 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
slaxemulator@5372 11 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt acl \
slaxemulator@5372 12 xorg-libXdamage libsoup gcc-lib-base libtasn1 util-linux-ng-uuid"
slaxemulator@5372 13 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
slaxemulator@5372 14 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
slaxemulator@5372 15 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
slaxemulator@5372 16 libxcb-dev xcb-util-dev util-linux-ng-uuid-dev"
mallory@3146 17 MAINTAINER="mallory@sweetpeople.org"
mallory@3146 18 TARBALL="$SOURCE-$VERSION.tar.gz"
mallory@3146 19 WEB_SITE="http://webkitgtk.org"
mallory@3146 20 WGET_URL="$WEB_SITE/$TARBALL"
mallory@3146 21
mallory@3146 22 # Rules to configure and make the package.
mallory@3146 23 compile_rules()
mallory@3146 24 {
mallory@3146 25 cd $src
rcx@3981 26
rcx@3981 27 # When fully implemented, this ./configure option will eliminate the large icu dependency
rcx@3981 28 # There is a planned set of 4 patches, of which only the first has been implemented to date
rcx@3981 29 # https://bugs.webkit.org/show_bug.cgi?id=15914
rcx@3981 30 # --with-unicode-backend=glib
rcx@3981 31
mallory@3146 32 ./configure \
mallory@3146 33 --prefix=/usr \
mallory@3146 34 --infodir=/usr/share/info \
mallory@3146 35 --mandir=/usr/share/man \
mallory@3249 36 --enable-video=no \
mallory@3249 37 --enable-svg=no \
jozee@5022 38 --with-unicode-backend=glib \
mallory@3146 39 $CONFIGURE_ARGS &&
devl547@5604 40 make -j4 && make DESTDIR=$PWD/_pkg install
mallory@3146 41 }
mallory@3146 42
mallory@3146 43 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3146 44 genpkg_rules()
mallory@3146 45 {
jozee@5027 46 mkdir -p $fs/usr/lib $fs/usr/bin
mallory@3146 47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@5027 48 cp -a $src/Programs/GtkLauncher $fs/usr/bin/
mallory@3146 49 }