wok diff firefox-dev/receipt @ rev 14314
Add: terminology (0.3.0)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:28:42 2013 +0200 (2013-04-07) |
parents | 4cbd61af2eb0 |
children | f79ea815af04 |
line diff
1.1 --- a/firefox-dev/receipt Sat Feb 25 13:53:42 2012 -0500 1.2 +++ b/firefox-dev/receipt Sun Apr 07 10:28:42 2013 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="firefox-dev" 1.7 -VERSION="10.0.2" 1.8 +VERSION="17.0.4esr" 1.9 CATEGORY="development" 1.10 SHORT_DESC="firefox devel files" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 @@ -15,24 +15,40 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib/pkgconfig 1.17 - cp -a $_pkg/usr/lib/firefox-devel $fs/usr/lib 1.18 - cp -a $_pkg/usr/include $fs/usr 1.19 + printf "Installing include files.." 1.20 + mkdir -p $fs/usr/include/$WANTED-$VERSION && 1.21 + cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION 1.22 + status 1.23 1.24 - # Gecko 1.9.0 compatibility... 1.25 - #ln -s npfunctions.h $fs/usr/include/firefox-$VERSION/stable/npupp.h 1.26 + printf "Installing libs files.." 1.27 + mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply && 1.28 + cp -rL $src/obj-firefox/dist/sdk/bin/*.py \ 1.29 + $fs/usr/lib/$WANTED-devel/sdk/bin && 1.30 + cp -rL $src/obj-firefox/dist/sdk/bin/ply/*.py \ 1.31 + $fs/usr/lib/$WANTED-devel/sdk/bin/ply && 1.32 + mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib && 1.33 + cp -rL $src/obj-firefox/dist/sdk/lib/* \ 1.34 + $fs/usr/lib/$WANTED-devel/sdk/lib 1.35 + status 1.36 + 1.37 +# printf "Installing npapi files.." 1.38 +# mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi && 1.39 +# cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi 1.40 +# status 1.41 1.42 # /usr/share/idl folder should also be in firefox-dev 1.43 - cp -a $_pkg/usr/share $fs/usr 1.44 + printf "Installing idl files.." 1.45 + mkdir -p $fs/usr/share/$WANTED-$VERSION/idl && 1.46 + cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl 1.47 + status 1.48 1.49 # copy missing *.pc files 1.50 - cp -a $stuff/*.pc $fs/usr/lib/pkgconfig 1.51 - 1.52 - # copy missing xpidl files 1.53 - cp -a $_pkg/typelib/xpidl/xpidl $fs/usr/lib/firefox-devel/sdk/lib 1.54 - 1.55 + printf "Installing pkgconfig files.." 1.56 + mkdir -p $fs/usr/lib/pkgconfig && 1.57 + cp -a $stuff/*.pc $fs/usr/lib/pkgconfig && 1.58 # fix version 1.59 - sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/* 1.60 + sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/* 1.61 + status 1.62 } 1.63 1.64 # Pre and post install commands for Tazpkg.