wok annotate libfirefox/receipt @ rev 12643

xfprint: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 22:50:20 2012 +0200 (2012-04-29)
parents 6d1361c333f4
children ae7d609d0002
rev   line source
jozee@5038 1 # SliTaz package receipt.
jozee@5038 2
jozee@5038 3 PACKAGE="libfirefox"
slaxemulator@11817 4 VERSION="10.0.2"
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 {
slaxemulator@11324 17 mkdir -p $fs/usr/lib/$WANTED
slaxemulator@11324 18 cp -a $_pkg/usr/lib/$WANTED/*.so $fs/usr/lib/$WANTED
jozee@5038 19
jozee@5038 20 # remove some firefox libs (in firefox receipts)
slaxemulator@11324 21 rm -rf $fs/usr/lib/firefox/libxul.so
jozee@5038 22
jozee@5038 23 # Remove unnecessary files (copied from firefox receipt)
slaxemulator@11324 24 rm -rf $fs/usr/lib/firefox/libsqlite3.so
jozee@5038 25 }
jozee@5038 26
jozee@5038 27 post_install()
jozee@5038 28 {
slaxemulator@11324 29 # Export firefox libraries
slaxemulator@11324 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 }