wok-next diff firefox/receipt @ rev 20574
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 20:08:04 2018 +0300 (2018-04-13) |
parents | 7639f09792cf |
children | f48456621a9d |
line diff
1.1 --- a/firefox/receipt Wed Feb 28 13:56:24 2018 +0200 1.2 +++ b/firefox/receipt Fri Apr 13 20:08:04 2018 +0300 1.3 @@ -67,72 +67,52 @@ 1.4 case $PACKAGE in 1.5 firefox) 1.6 # program 1.7 - printf "Installing program.." 1.8 mkdir -p $fs/usr/lib && 1.9 cp -a $install/usr/lib/$PACKAGE-$VERSION $fs/usr/lib && 1.10 cp -a $install/usr/lib/mozilla $fs/usr/lib && 1.11 cp -a $install/usr/bin $fs/usr 1.12 - status 1.13 1.14 # search Plugin (by: oddball) 1.15 - printf "Installing SliTaz search plugins.." 1.16 cp -a $stuff/searchplugins $fs/usr/lib/$PACKAGE-$VERSION 1.17 - status 1.18 1.19 # prefs 1.20 - printf "Installing SliTaz preferences.." 1.21 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/distribution && 1.22 cp -a $stuff/distribution.ini $fs/usr/lib/$PACKAGE-$VERSION/distribution 1.23 - status 1.24 1.25 # mozilla-common files 1.26 # dictionaries 1.27 - printf "Installing common dictionnaries.." 1.28 rm -rf $fs/usr/lib/$PACKAGE-$VERSION/dictionaries && 1.29 ln -sf ../mozilla-common-$VERSION/dictionaries \ 1.30 $fs/usr/lib/$PACKAGE-$VERSION/dictionaries 1.31 - status 1.32 # plugin-container 1.33 - printf "Installing common plugin-container" 1.34 rm -f $fs/usr/lib/$PACKAGE-$VERSION/plugin-container && 1.35 ln -sf ../mozilla-common-$VERSION/plugin-container \ 1.36 $fs/usr/lib/$PACKAGE-$VERSION/plugin-container 1.37 - status 1.38 # mozilla-xremote-client 1.39 - printf "Installing common mozilla-xremote-client" 1.40 rm -f $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client && 1.41 ln -sf ../mozilla-common-$VERSION/mozilla-xremote-client \ 1.42 $fs/usr/lib/$PACKAGE-$VERSION/mozilla-xremote-client 1.43 - status 1.44 # components/libdbusservice.so 1.45 # components/libmozgnome.so 1.46 for file in libdbusservice.so libmozgnome.so; do 1.47 - printf "Installing common components/$file" 1.48 rm -f $fs/usr/lib/$PACKAGE-$VERSION/components/$file && 1.49 ln -sf ../../mozilla-common-$VERSION/components/$file \ 1.50 $fs/usr/lib/$PACKAGE-$VERSION/components/$file 1.51 - status 1.52 done 1.53 # chrome.manifest 1.54 - printf "Installing common chrome.manifest" 1.55 rm -f $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest && 1.56 ln -sf ../mozilla-common-$VERSION/chrome.manifest \ 1.57 $fs/usr/lib/$PACKAGE-$VERSION/chrome.manifest 1.58 - status 1.59 1.60 # run-mozilla.sh 1.61 - printf "Installing common run-mozilla.sh" 1.62 rm -f $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh && 1.63 ln -sf ../mozilla-common-$VERSION/run-mozilla.sh \ 1.64 $fs/usr/lib/$PACKAGE-$VERSION/run-mozilla.sh 1.65 - status 1.66 1.67 # libmozalloc.so 1.68 - printf "Installing common libmozalloc.so" 1.69 rm -f $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so && 1.70 ln -sf ../mozilla-common-$VERSION/libmozalloc.so \ 1.71 $fs/usr/lib/$PACKAGE-$VERSION/libmozalloc.so 1.72 - status 1.73 1.74 chown -R root.root $fs 1.75 ;; 1.76 @@ -141,13 +121,10 @@ 1.77 DEPENDS="alsa-lib sqlite3 cairo dbus-glib pango atk \ 1.78 glib xorg-libXt xorg-libXinerama \ 1.79 xorg-libXcursor xorg-libXcomposite xorg-libXext \ 1.80 - xorg-libXdamage xorg-libxcb xorg-libSM xorg-libICE pkg-config" 1.81 - printf "Installing include files.." 1.82 + xorg-libXdamage xorg-libxcb xorg-libSM xorg-libICE" 1.83 mkdir -p $fs/usr/include/$WANTED-$VERSION && 1.84 cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION 1.85 - status 1.86 1.87 - printf "Installing libs files.." 1.88 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply && 1.89 cp -rL $src/obj-firefox/dist/sdk/bin/*.py \ 1.90 $fs/usr/lib/$WANTED-devel/sdk/bin && 1.91 @@ -156,26 +133,19 @@ 1.92 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib && 1.93 cp -rL $src/obj-firefox/dist/sdk/lib/* \ 1.94 $fs/usr/lib/$WANTED-devel/sdk/lib 1.95 - status 1.96 1.97 -# printf "Installing npapi files.." 1.98 # mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi && 1.99 # cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi 1.100 -# status 1.101 1.102 # /usr/share/idl folder should also be in firefox-dev 1.103 - printf "Installing idl files.." 1.104 mkdir -p $fs/usr/share/$WANTED-$VERSION/idl && 1.105 cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl 1.106 - status 1.107 1.108 # copy missing *.pc files 1.109 - printf "Installing pkgconfig files.." 1.110 mkdir -p $fs/usr/lib/pkgconfig && 1.111 cp -a $stuff/*.pc $fs/usr/lib/pkgconfig && 1.112 # fix version 1.113 sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/* 1.114 - status 1.115 ;; 1.116 libfirefox) 1.117 CAT="network|firefox/thunderbird common files" 1.118 @@ -183,51 +153,37 @@ 1.119 xorg-libXdamage alsa-lib xorg-libXt" 1.120 # dictionaries/en-US.aff 1.121 # dictionaries/en-US.dic 1.122 - printf "Installing dictionaries" 1.123 mkdir -p $fs/usr/lib/mozilla-common-$VERSION/dictionaries 1.124 # cp -a $install/usr/lib/firefox-$VERSION/dictionaries \ 1.125 # $fs/usr/lib/mozilla-common-$VERSION 1.126 - status 1.127 1.128 # plugin-container 1.129 - printf "Installing common plugin-container" 1.130 cp -a $install/usr/lib/firefox-$VERSION/plugin-container \ 1.131 $fs/usr/lib/mozilla-common-$VERSION 1.132 - status 1.133 1.134 # mozilla-xremote-client 1.135 - printf "Installing common mozilla-xremote-client" 1.136 cp -a $install/usr/lib/firefox-$VERSION/mozilla-xremote-client \ 1.137 $fs/usr/lib/mozilla-common-$VERSION 1.138 - status 1.139 1.140 # components/libdbusservice.so 1.141 # components/libmozgnome.so 1.142 mkdir -p $fs/usr/lib/mozilla-common-$VERSION/components 1.143 for file in libdbusservice.so libmozgnome.so; do 1.144 - printf "Installing common components/$file" 1.145 cp -a $install/usr/lib/firefox-$VERSION/components/$file \ 1.146 $fs/usr/lib/mozilla-common-$VERSION/components 1.147 - status 1.148 done 1.149 1.150 # chrome.manifest 1.151 - printf "Installing common chrome.manifest" 1.152 cp -a $install/usr/lib/firefox-$VERSION/chrome.manifest \ 1.153 $fs/usr/lib/mozilla-common-$VERSION 1.154 - status 1.155 1.156 # run-mozilla.sh 1.157 - printf "Installing common run-mozilla.sh" 1.158 cp -a $install/usr/lib/firefox-$VERSION/run-mozilla.sh \ 1.159 $fs/usr/lib/mozilla-common-$VERSION 1.160 - status 1.161 1.162 # libmozalloc.so 1.163 - printf "Installing common libmozalloc.so" 1.164 cp -a $install/usr/lib/firefox-$VERSION/libmozalloc.so \ 1.165 $fs/usr/lib/mozilla-common-$VERSION 1.166 - status 1.167 ;; 1.168 esac 1.169 }