wok-next diff libwebkit-dev/receipt @ rev 12474

libcanberra: try a fix
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 13:29:57 2012 +0200 (2012-04-23)
parents 53a227ffd1c4
children 78dc4484009c
line diff
     1.1 --- a/libwebkit-dev/receipt	Mon Nov 07 09:49:21 2011 +0300
     1.2 +++ b/libwebkit-dev/receipt	Mon Apr 23 13:29:57 2012 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libwebkit-dev"
     1.7 -VERSION="1.7.1"
     1.8 -CATEGORY="network"
     1.9 -SHORT_DESC="xHTML render library."
    1.10 +VERSION="1.6.1"
    1.11 +CATEGORY="development"
    1.12 +SHORT_DESC="devel files for libwebkit"
    1.13  DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev"
    1.14  SOURCE="webkit"
    1.15  WANTED="libwebkit"
    1.16 @@ -17,5 +17,8 @@
    1.17  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.18  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.19  	cp -a $_pkg/usr/include $fs/usr
    1.20 -	cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.21 +	[ -d $_pkg/usr/share/gir-1.0 ] && cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.22 +	if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then
    1.23 +		ln -sf /usr/lib/pkgconfig/webkit-1.0.pc $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc
    1.24 +	fi
    1.25  }