wok-6.x diff libfirefox/receipt @ rev 5376

Up: aria2 (1.9.2)
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 01 01:57:01 2010 +0000 (2010-05-01)
parents
children 2c2ac9ff1c18
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libfirefox/receipt	Sat May 01 01:57:01 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libfirefox"
     1.7 +VERSION="3.5.7"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="firefox lib files"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt"
    1.12 +WANTED="firefox"
    1.13 +WEB_SITE="http://www.mozilla.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	
    1.19 +	mkdir -p $fs/usr/lib/$WANTED-$VERSION
    1.20 +	cp -a $_pkg/usr/lib/$WANTED-$VERSION/*.so $fs/usr/lib/$WANTED-$VERSION
    1.21 +	
    1.22 +	# remove some firefox libs (in firefox receipts)
    1.23 +	rm -rf $fs/usr/lib/firefox-$VERSION/libxul.so
    1.24 +	rm -rf $fs/usr/lib/firefox-$VERSION/libmozjs.so
    1.25 +	
    1.26 +	# Remove unnecessary files (copied from firefox receipt)
    1.27 +	rm -rf $fs/usr/lib/firefox-$VERSION/libsqlite3.so
    1.28 +	
    1.29 +
    1.30 +}
    1.31 +
    1.32 +post_install()
    1.33 +{
    1.34 +# Export firefox libraries
    1.35 +	for i in /usr/lib/firefox*/*.so ; do
    1.36 +		[ -f $i ] && ln -sf $i /usr/lib
    1.37 +	done	
    1.38 +}