wok-current annotate libfirefox/receipt @ rev 11301

Up: xvid (1.3.2)
author Alexander Medvedev <devl547@gmail.com>
date Sat Nov 12 22:18:38 2011 +0000 (2011-11-12)
parents 4d5a84939dfc
children 66be26816f41
rev   line source
jozee@5038 1 # SliTaz package receipt.
jozee@5038 2
jozee@5038 3 PACKAGE="libfirefox"
devl547@11266 4 VERSION="8.0"
jozee@5038 5 CATEGORY="network"
jozee@5038 6 SHORT_DESC="firefox lib files"
jozee@5038 7 MAINTAINER="jozee@slitaz.org"
jozee@5038 8 WANTED="firefox"
jozee@5038 9 WEB_SITE="http://www.mozilla.org/"
jozee@5038 10
pankso@10737 11 DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage \
pankso@10737 12 alsa-lib xorg-libXt"
pankso@10737 13
jozee@5038 14 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5038 15 genpkg_rules()
jozee@5038 16 {
jozee@5038 17 mkdir -p $fs/usr/lib/$WANTED-$VERSION
jozee@5038 18 cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.so $fs/usr/lib/$WANTED-$VERSION
jozee@5038 19
jozee@5038 20 # remove some firefox libs (in firefox receipts)
jozee@5038 21 rm -rf $fs/usr/lib/firefox-$VERSION/libxul.so
jozee@5038 22
jozee@5038 23 # Remove unnecessary files (copied from firefox receipt)
jozee@5038 24 rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so
jozee@5038 25 }
jozee@5038 26
jozee@5038 27 post_install()
jozee@5038 28 {
jozee@5038 29 # Export firefox libraries
jozee@5038 30 for i in /usr/lib/firefox*/*.so ; do
jozee@5038 31 [ -f $i ] && ln -sf $i /usr/lib
jozee@5038 32 done
jozee@5038 33 }