wok-stable annotate firefox-dev/receipt @ rev 5392
Up: firefox, firefox-dev, libfirefox (3.6.3) - Added libnotify-dev and wireless_tools-dev to build depends. Added libnotify to depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 01 18:17:42 2010 +0000 (2010-05-01) |
parents | ec066bd77049 |
children | 38ac44e9ff3d |
rev | line source |
---|---|
jozee@2974 | 1 # SliTaz package receipt. |
jozee@2974 | 2 |
jozee@2974 | 3 PACKAGE="firefox-dev" |
slaxemulator@5392 | 4 VERSION="3.6.3" |
jozee@2974 | 5 CATEGORY="development" |
jozee@2974 | 6 SHORT_DESC="firefox devel files" |
jozee@3126 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5001 | 8 DEPENDS="alsa-lib sqlite seamon |
pankso@5337 | 9 key cairo dbus-glib pango atk libgio xorg-libXt xorg-libXinerama \ |
pascal@5001 | 10 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \ |
pascal@5026 | 11 xorg-libSM xorg-libICE seamonkey" |
jozee@2974 | 12 WANTED="firefox" |
jozee@2974 | 13 WEB_SITE="http://www.mozilla.org/" |
jozee@2974 | 14 |
jozee@2974 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2974 | 16 genpkg_rules() |
jozee@2974 | 17 { |
jozee@3126 | 18 mkdir -p $fs/usr/lib/pkgconfig |
jozee@2975 | 19 cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib |
jozee@2974 | 20 cp -a $_pkg/usr/include $fs/usr |
pankso@3818 | 21 |
pascal@4525 | 22 # Gecko 1.9.0 compatibility... |
pascal@4525 | 23 ln -s npfunctions.h $fs/usr/include/firefox-$VERSION/stable/npupp.h |
pascal@4525 | 24 |
jozee@3126 | 25 # /usr/share/idl folder should also be in firefox-dev |
jozee@2974 | 26 cp -a $_pkg/usr/share $fs/usr |
pankso@3818 | 27 |
jozee@3126 | 28 # copy missing *.pc files |
jozee@3126 | 29 cp -a stuff/*.pc $fs/usr/lib/pkgconfig |
pankso@3818 | 30 |
jozee@3126 | 31 # copy missing xpidl files |
jozee@3126 | 32 dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib |
jozee@3126 | 33 cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 34 cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 35 cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 36 |
pascal@4293 | 37 # fix version |
pascal@4294 | 38 sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/* |
jozee@2974 | 39 } |