wok-4.x annotate libfirefox/receipt @ rev 9742
Fix: claws-mail BUILD_DEPENDS )libassuan, also use xorg-dev for all Xorg dev pkgs) and clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:32:37 2011 +0200 (2011-05-10) |
parents | 62e25e868000 |
children | c0d439992277 |
rev | line source |
---|---|
jozee@5038 | 1 # SliTaz package receipt. |
jozee@5038 | 2 |
jozee@5038 | 3 PACKAGE="libfirefox" |
slaxemulator@9642 | 4 VERSION="4.0.1" |
jozee@5038 | 5 CATEGORY="network" |
jozee@5038 | 6 SHORT_DESC="firefox lib files" |
jozee@5038 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@5038 | 8 DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt" |
jozee@5038 | 9 WANTED="firefox" |
jozee@5038 | 10 WEB_SITE="http://www.mozilla.org/" |
jozee@5038 | 11 |
jozee@5038 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5038 | 13 genpkg_rules() |
jozee@5038 | 14 { |
jozee@5038 | 15 |
jozee@5038 | 16 mkdir -p $fs/usr/lib/$WANTED-$VERSION |
jozee@5038 | 17 cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.so $fs/usr/lib/$WANTED-$VERSION |
jozee@5038 | 18 |
jozee@5038 | 19 # remove some firefox libs (in firefox receipts) |
jozee@5038 | 20 rm -rf $fs/usr/lib/firefox-$VERSION/libxul.so |
jozee@5038 | 21 |
jozee@5038 | 22 # Remove unnecessary files (copied from firefox receipt) |
jozee@5038 | 23 rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so |
jozee@5038 | 24 |
jozee@5038 | 25 |
jozee@5038 | 26 } |
jozee@5038 | 27 |
jozee@5038 | 28 post_install() |
jozee@5038 | 29 { |
jozee@5038 | 30 # Export firefox libraries |
jozee@5038 | 31 for i in /usr/lib/firefox*/*.so ; do |
jozee@5038 | 32 [ -f $i ] && ln -sf $i /usr/lib |
jozee@5038 | 33 done |
jozee@5038 | 34 } |