wok diff firefox-dev/receipt @ rev 11523
cairo-clock: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 14:26:54 2011 +0100 (2011-12-24) |
parents | 3d98b947aef3 |
children | 9771335d6c88 |
line diff
1.1 --- a/firefox-dev/receipt Wed Nov 09 18:58:18 2011 +0000 1.2 +++ b/firefox-dev/receipt Sat Dec 24 14:26:54 2011 +0100 1.3 @@ -1,11 +1,11 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="firefox-dev" 1.7 -VERSION="8.0" 1.8 +VERSION="8.0.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="firefox devel files" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 -DEPENDS="alsa-lib sqlite seamonkey cairo dbus-glib pango atk \ 1.13 +DEPENDS="alsa-lib sqlite cairo dbus-glib pango atk \ 1.14 libgio xorg-libXt xorg-libXinerama \ 1.15 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \ 1.16 xorg-libSM xorg-libICE" 1.17 @@ -16,7 +16,7 @@ 1.18 genpkg_rules() 1.19 { 1.20 mkdir -p $fs/usr/lib/pkgconfig 1.21 - cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib 1.22 + cp -a $_pkg/usr/lib/firefox-devel $fs/usr/lib 1.23 cp -a $_pkg/usr/include $fs/usr 1.24 1.25 # Gecko 1.9.0 compatibility... 1.26 @@ -29,17 +29,20 @@ 1.27 cp -a $stuff/*.pc $fs/usr/lib/pkgconfig 1.28 1.29 # copy missing xpidl files 1.30 - cp -a $_pkg/typelib/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib 1.31 + cp -a $_pkg/typelib/xpidl/xpidl $fs/usr/lib/firefox-devel/sdk/lib 1.32 + 1.33 + # fix version 1.34 + sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/* 1.35 } 1.36 1.37 # Pre and post install commands for Tazpkg. 1.38 post_install() 1.39 { 1.40 for i in usr/share/idl/firefox- usr/include/firefox- \ 1.41 - usr/lib/firefox-devel- ; do 1.42 - for j in $(ls -d $1/$i*); do 1.43 + usr/lib/firefox-devel- ; do 1.44 + for j in $(ls -d $1/$i* 2>/dev/null); do 1.45 [ "${j##*-}" = "$VERSION" ] && continue 1.46 - rm -rf $j 1.47 + [ -d $j ] && rm -rf $j 1.48 done 1.49 done 1.50 }