wok-4.x view libfirefox/receipt @ rev 11260
Up: fltk (1.3.0) and dillo (3.0.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 21:01:36 2011 +0000 (2011-11-07) |
parents | c0d439992277 |
children | 3d98b947aef3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfirefox"
4 VERSION="7.0.1"
5 CATEGORY="network"
6 SHORT_DESC="firefox lib files"
7 MAINTAINER="jozee@slitaz.org"
8 WANTED="firefox"
9 WEB_SITE="http://www.mozilla.org/"
11 DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \
12 alsa-lib xorg-libXt"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/$WANTED-$VERSION
18 cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.so $fs/usr/lib/$WANTED-$VERSION
20 # remove some firefox libs (in firefox receipts)
21 rm -rf $fs/usr/lib/firefox-$VERSION/libxul.so
23 # Remove unnecessary files (copied from firefox receipt)
24 rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so
25 }
27 post_install()
28 {
29 # Export firefox libraries
30 for i in /usr/lib/firefox*/*.so ; do
31 [ -f $i ] && ln -sf $i /usr/lib
32 done
33 }