wok-6.x view firefox-dev/receipt @ rev 4608

Improve fswebcam.conf
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:41:18 2009 +0000 (2009-12-15)
parents 4b16c8ec84b1
children 49029e33804e
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="3.5.5"
5 CATEGORY="development"
6 SHORT_DESC="firefox devel files"
7 MAINTAINER="jozee@slitaz.org"
8 WANTED="firefox"
9 WEB_SITE="http://www.mozilla.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib/pkgconfig
15 cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib
16 cp -a $_pkg/usr/include $fs/usr
18 # Gecko 1.9.0 compatibility...
19 ln -s npfunctions.h $fs/usr/include/firefox-$VERSION/stable/npupp.h
21 # /usr/share/idl folder should also be in firefox-dev
22 cp -a $_pkg/usr/share $fs/usr
24 # copy missing *.pc files
25 cp -a stuff/*.pc $fs/usr/lib/pkgconfig
27 # copy missing xpidl files
28 dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib
29 cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
30 cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
31 cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
33 # fix version
34 sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/*
35 }