wok-current diff libwebkit-dev/receipt @ rev 16258
ARM: add webkit (cross compile in my local chroot :-) and needed deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 06:13:29 2014 +0200 (2014-04-05) |
parents | 8ed62ecac0c7 |
children | 7f9d5eb37924 |
line diff
1.1 --- a/libwebkit-dev/receipt Thu Dec 05 11:43:50 2013 +0000 1.2 +++ b/libwebkit-dev/receipt Sat Apr 05 06:13:29 2014 +0200 1.3 @@ -9,20 +9,26 @@ 1.4 MAINTAINER="mallory@sweetpeople.org" 1.5 LICENSE="LGPL2" 1.6 WEB_SITE="http://webkitgtk.org" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev pkg-config" 1.10 +DEPENDS="libwebkit libsoup-dev enchant-dev libtasn1-dev sqlite-dev" 1.11 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 mkdir -p $fs/usr/lib $fs/usr/share 1.16 cp -a $install/usr/lib/*.*a $fs/usr/lib 1.17 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.18 - cp -a $install/usr/include $fs/usr 1.19 - [ -d $install/usr/share/gir-1.0 ] && 1.20 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 1.21 - if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then 1.22 - ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \ 1.23 - $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc 1.24 - fi 1.25 + # ARM: no pkg-config, include or gir files 1.26 + case "$ARCH" in 1.27 + i?86) 1.28 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.29 + cp -a $install/usr/include $fs/usr 1.30 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 1.31 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 1.32 + # webkitgtk-1.0.pc 1.33 + if [ -f $fs/usr/lib/pkgconfig/webkit-1.0.pc ]; then 1.34 + ln -sf /usr/lib/pkgconfig/webkit-1.0.pc \ 1.35 + $fs/usr/lib/pkgconfig/webkitgtk-1.0.pc 1.36 + fi ;; 1.37 + esac 1.38 }