wok view firefox-dev/receipt @ rev 4663
linux-source: tiny change on buildtaz
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Dec 28 23:53:32 2009 +0100 (2009-12-28) |
parents | 28421eb90c02 |
children | ccd7c48d0adb |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="3.5.6"
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 }