wok view firefox-dev/receipt @ rev 5359
Up: grsync (1.1.0)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 20:47:27 2010 +0000 (2010-04-28) |
parents | b68b4f934ba7 |
children | 2c2ac9ff1c18 |
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 DEPENDS="alsa-lib sqlite seamon
9 key cairo dbus-glib pango atk libgio xorg-libXt xorg-libXinerama \
10 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \
11 xorg-libSM xorg-libICE seamonkey"
12 WANTED="firefox"
13 WEB_SITE="http://www.mozilla.org/"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib/pkgconfig
19 cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib
20 cp -a $_pkg/usr/include $fs/usr
22 # Gecko 1.9.0 compatibility...
23 ln -s npfunctions.h $fs/usr/include/firefox-$VERSION/stable/npupp.h
25 # /usr/share/idl folder should also be in firefox-dev
26 cp -a $_pkg/usr/share $fs/usr
28 # copy missing *.pc files
29 cp -a stuff/*.pc $fs/usr/lib/pkgconfig
31 # copy missing xpidl files
32 dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib
33 cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
34 cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
35 cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
37 # fix version
38 sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/*
39 }