wok view libfirefox/receipt @ rev 9643
Up: firefox-langpack-fr to 4.0.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 28 23:44:25 2011 +0000 (2011-04-28) |
parents | 62e25e868000 |
children | c0d439992277 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfirefox"
4 VERSION="4.0.1"
5 CATEGORY="network"
6 SHORT_DESC="firefox lib files"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt"
9 WANTED="firefox"
10 WEB_SITE="http://www.mozilla.org/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
16 mkdir -p $fs/usr/lib/$WANTED-$VERSION
17 cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.so $fs/usr/lib/$WANTED-$VERSION
19 # remove some firefox libs (in firefox receipts)
20 rm -rf $fs/usr/lib/firefox-$VERSION/libxul.so
22 # Remove unnecessary files (copied from firefox receipt)
23 rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so
26 }
28 post_install()
29 {
30 # Export firefox libraries
31 for i in /usr/lib/firefox*/*.so ; do
32 [ -f $i ] && ln -sf $i /usr/lib
33 done
34 }