wok-stable view firefox-dev/receipt @ rev 4807
Up: ncmpcpp (0.5)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Jan 18 16:02:24 2010 +0000 (2010-01-18) |
parents | 49029e33804e |
children | 9f19aee613be |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="3.5.7"
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 }