wok view libwebkit-video/receipt @ rev 12787

galculator: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 15 14:50:31 2012 +0200 (2012-05-15)
parents 1479f1f70e27
children 0fe689547094
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebkit-video"
4 VERSION="1.6.1"
5 CATEGORY="network"
6 SHORT_DESC="xHTML render library."
7 MAINTAINER="mallory@sweetpeople.org"
8 SOURCE="webkit"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://webkitgtk.org"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
15 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
16 xorg-libXrandr xorg-libXrender xorg-libXt acl xorg-libXdamage libsoup \
17 gcc-lib-base libtasn1 util-linux-uuid glib-networking gst-plugins-base"
18 BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
19 libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
20 m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
21 libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
22 gobject-introspection-dev tar gettext glib-networking-dev \
23 gstreamer-dev gst-plugins-base-dev"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --enable-introspection=no \
34 --enable-video=yes \
35 --enable-jit=yes \
36 --with-unicode-backend=glib \
37 --with-gtk=2.0 \
38 $CONFIGURE_ARGS &&
39 make all stamp-po && make DESTDIR=$DESTDIR install &&
40 cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib $fs/usr/bin
47 [ -d $_pkg/usr/lib/girepository-1.0 ] && cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
49 }