wok rev 9120

firefox-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:36:09 2011 +0100 (2011-03-05)
parents 7fea2807e344
children 2c7359247d61
files firefox-dev/receipt firefox/receipt
line diff
     1.1 --- a/firefox-dev/receipt	Sat Mar 05 13:17:04 2011 +0100
     1.2 +++ b/firefox-dev/receipt	Sat Mar 05 13:36:09 2011 +0100
     1.3 @@ -29,10 +29,9 @@
     1.4  	cp -a stuff/*.pc $fs/usr/lib/pkgconfig
     1.5  
     1.6  	# copy missing xpidl files
     1.7 -	dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib
     1.8 -	cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
     1.9 -	cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.10 -	cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.11 +	cp -a $_pkg/typelib/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.12 +	cp -a $_pkg/typelib/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.13 +	cp -a $_pkg/typelib/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.14  
    1.15  	# fix version
    1.16  	sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/*
     2.1 --- a/firefox/receipt	Sat Mar 05 13:17:04 2011 +0100
     2.2 +++ b/firefox/receipt	Sat Mar 05 13:36:09 2011 +0100
     2.3 @@ -30,7 +30,8 @@
     2.4  	sed -i 's/xtype/type/' toolkit/mozapps/installer/packager.mk
     2.5  	./configure $CONFIGURE_ARGS &&
     2.6  	make -j 4 &&
     2.7 -	make DESTDIR=$PWD/_pkg install
     2.8 +	make DESTDIR=$PWD/_pkg install &&
     2.9 +	cp -a xpcom/typelib $PWD/_pkg
    2.10  }
    2.11  
    2.12  # Rules to gen a SliTaz package suitable for Tazpkg.