wok annotate firefox-dev/receipt @ rev 4294
firefox-dev: fix version hack (typo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 20:38:12 2009 +0200 (2009-09-26) |
parents | cd48e6118026 |
children | 4b16c8ec84b1 |
rev | line source |
---|---|
jozee@2974 | 1 # SliTaz package receipt. |
jozee@2974 | 2 |
jozee@2974 | 3 PACKAGE="firefox-dev" |
pankso@4079 | 4 VERSION="3.5.3" |
jozee@2974 | 5 CATEGORY="development" |
jozee@2974 | 6 SHORT_DESC="firefox devel files" |
jozee@3126 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2974 | 8 WANTED="firefox" |
jozee@2974 | 9 WEB_SITE="http://www.mozilla.org/" |
jozee@2974 | 10 |
jozee@2974 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2974 | 12 genpkg_rules() |
jozee@2974 | 13 { |
jozee@3126 | 14 mkdir -p $fs/usr/lib/pkgconfig |
jozee@2975 | 15 cp -a $_pkg/usr/lib/firefox-devel-$VERSION $fs/usr/lib |
jozee@2974 | 16 cp -a $_pkg/usr/include $fs/usr |
pankso@3818 | 17 |
jozee@3126 | 18 # /usr/share/idl folder should also be in firefox-dev |
jozee@2974 | 19 cp -a $_pkg/usr/share $fs/usr |
pankso@3818 | 20 |
jozee@3126 | 21 # copy missing *.pc files |
jozee@3126 | 22 cp -a stuff/*.pc $fs/usr/lib/pkgconfig |
pankso@3818 | 23 |
jozee@3126 | 24 # copy missing xpidl files |
jozee@3126 | 25 dist=$WOK/$WANTED/$WANTED-$VERSION/xpcom/typelib |
jozee@3126 | 26 cp -a $dist/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 27 cp -a $dist/xpt/tools/xpt_dump $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 28 cp -a $dist/xpt/tools/xpt_link $fs/usr/lib/firefox-devel-$VERSION/sdk/lib |
jozee@3126 | 29 |
pascal@4293 | 30 # fix version |
pascal@4294 | 31 sed -i "s/3\.5\../$VERSION/" $fs/usr/lib/pkgconfig/* |
jozee@2974 | 32 } |