wok view libfirefox/receipt @ rev 6165
Up: thunderbird-langpack-pt_BR (3.1.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Sep 10 12:24:30 2010 +0200 (2010-09-10) |
parents | 2c2ac9ff1c18 |
children | bfb27d9c9fb8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfirefox"
4 VERSION="3.6.8"
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
21 rm -rf $fs/usr/lib/firefox-$VERSION/libmozjs.so
23 # Remove unnecessary files (copied from firefox receipt)
24 rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so
27 }
29 post_install()
30 {
31 # Export firefox libraries
32 for i in /usr/lib/firefox*/*.so ; do
33 [ -f $i ] && ln -sf $i /usr/lib
34 done
35 }