wok-6.x view firefox-dev/receipt @ rev 4359
Up dnsmasq (2.50)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 05 15:56:28 2009 +0200 (2009-10-05) |
parents | cd48e6118026 |
children | 4b16c8ec84b1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="3.5.3"
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 # /usr/share/idl folder should also be in firefox-dev
19 cp -a $_pkg/usr/share $fs/usr
21 # copy missing *.pc files
22 cp -a stuff/*.pc $fs/usr/lib/pkgconfig
24 # copy missing xpidl files
25 dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib
26 cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
27 cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
28 cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
30 # fix version
31 sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/*
32 }