wok-6.x rev 3126

fix: firefox-dev files for browser plugins (mplayer)
author Rohit Joshi <jozee@slitaz.org>
date Tue May 19 19:51:52 2009 +0000 (2009-05-19)
parents bcb2999e13f6
children 9bcbfe9fa155
files firefox-dev/receipt firefox-dev/stuff/firefox-gtkmozembed.pc firefox-dev/stuff/firefox-js.pc firefox-dev/stuff/firefox-plugin.pc firefox-dev/stuff/firefox-xpcom.pc
line diff
     1.1 --- a/firefox-dev/receipt	Tue May 19 15:28:24 2009 +0200
     1.2 +++ b/firefox-dev/receipt	Tue May 19 19:51:52 2009 +0000
     1.3 @@ -4,19 +4,29 @@
     1.4  VERSION="3.0.10"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="firefox devel files"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="jozee@slitaz.org"
     1.9  WANTED="firefox"
    1.10  WEB_SITE="http://www.mozilla.org/"
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/lib 
    1.16 +	mkdir -p $fs/usr/lib/pkgconfig
    1.17  	cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib
    1.18  	cp -a $_pkg/usr/include $fs/usr
    1.19  	
    1.20 -	# for some reason /usr/share/idl folder is missing in firefox
    1.21 -	# so copying it in firefox-dev
    1.22 +	# /usr/share/idl folder should also be in firefox-dev
    1.23  	cp -a $_pkg/usr/share $fs/usr
    1.24 +	
    1.25 +	# copy missing *.pc files
    1.26 +	cp -a stuff/*.pc $fs/usr/lib/pkgconfig
    1.27 +	
    1.28 +	# copy missing xpidl files
    1.29 +	dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib
    1.30 +	cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.31 +	cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.32 +	cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
    1.33 +
    1.34 +	
    1.35  }
    1.36  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/firefox-dev/stuff/firefox-gtkmozembed.pc	Tue May 19 19:51:52 2009 +0000
     2.3 @@ -0,0 +1,9 @@
     2.4 +prefix=/usr
     2.5 +libdir=/usr/lib/firefox-devel-3.0.10
     2.6 +sdkdir=/usr/lib/firefox-devel-3.0.10/sdk
     2.7 +includedir=/usr/include/firefox-3.0.10
     2.8 +
     2.9 +Name: mozilla-gtkembedmoz
    2.10 +Description: Mozilla Embedding Widget for Gtk+
    2.11 +Version: 3.0.10
    2.12 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/firefox-dev/stuff/firefox-js.pc	Tue May 19 19:51:52 2009 +0000
     3.3 @@ -0,0 +1,10 @@
     3.4 +prefix=/usr
     3.5 +libdir=/usr/lib/firefox-devel-3.0.10/sdk/lib
     3.6 +sdkdir=/usr/lib/firefox-devel-3.0.10/sdk
     3.7 +includedir=/usr/include/firefox-3.0.10
     3.8 +
     3.9 +Name: JavaScript
    3.10 +Description: The Mozilla JavaScript Library
    3.11 +Version: 3.0.10
    3.12 +Libs: -L${sdkdir}/sdk/lib -lmozjs
    3.13 +Cflags: -I${includedir}/stable -DXP_UNIX -DJS_THREADSAFE
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/firefox-dev/stuff/firefox-plugin.pc	Tue May 19 19:51:52 2009 +0000
     4.3 @@ -0,0 +1,10 @@
     4.4 +prefix=/usr
     4.5 +libdir=/usr/lib/firefox-devel-3.0.10/sdk/lib
     4.6 +sdkdir=/usr/lib/firefox-devel-3.0.10/sdk
     4.7 +includedir=/usr/include/firefox-3.0.10
     4.8 +
     4.9 +Name: Mozilla Plug-In API
    4.10 +Description: Mozilla Plug-In API
    4.11 +Version: 3.0.10
    4.12 +Libs: -L${libdir}
    4.13 +Cflags: -I${includedir}/stable -I${includedir}/unstable
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/firefox-dev/stuff/firefox-xpcom.pc	Tue May 19 19:51:52 2009 +0000
     5.3 @@ -0,0 +1,11 @@
     5.4 +prefix=/usr
     5.5 +exec_prefix=/usr
     5.6 +libdir=/usr/lib/firefox-devel-3.0.10/sdk/lib
     5.7 +includedir=/usr/include/firefox-3.0.10
     5.8 +idldir=/usr/share/idl/firefox-3.0.10/stable
     5.9 +
    5.10 +Name: XPCOM
    5.11 +Description: The Mozilla Cross Platform Component Library
    5.12 +Version: 3.0.10
    5.13 +Libs: -L${libdir} -lxpcom
    5.14 +Cflags: -I/usr/include/firefox-3.0.10/stable -I${includedir}