wok view firefox-dev/receipt @ rev 16524
ffserver: add config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 26 04:12:58 2014 +0200 (2014-04-26) |
parents | 6589809c65d4 |
children | 1067bb7f1e24 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="17.0.11esr"
5 CATEGORY="development"
6 SHORT_DESC="firefox devel files"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="MPL2"
9 WANTED="firefox"
10 WEB_SITE="http://www.mozilla.org/"
12 DEPENDS="alsa-lib sqlite cairo dbus-glib pango atk \
13 libgio xorg-libXt xorg-libXinerama \
14 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \
15 xorg-libSM xorg-libICE pkg-config"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 printf "Installing include files.."
21 mkdir -p $fs/usr/include/$WANTED-$VERSION &&
22 cp -rL $src/obj-firefox/dist/include/* $fs/usr/include/$WANTED-$VERSION
23 status
25 printf "Installing libs files.."
26 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
27 cp -rL $src/obj-firefox/dist/sdk/bin/*.py \
28 $fs/usr/lib/$WANTED-devel/sdk/bin &&
29 cp -rL $src/obj-firefox/dist/sdk/bin/ply/*.py \
30 $fs/usr/lib/$WANTED-devel/sdk/bin/ply &&
31 mkdir -p $fs/usr/lib/$WANTED-devel/sdk/lib &&
32 cp -rL $src/obj-firefox/dist/sdk/lib/* \
33 $fs/usr/lib/$WANTED-devel/sdk/lib
34 status
36 # printf "Installing npapi files.."
37 # mkdir -v $fs/usr/include/$WANTED-$VERSION/npapi &&
38 # cp -a $src/dom/plugins/base/*.h $fs/usr/include/$WANTED-$VERSION/npapi
39 # status
41 # /usr/share/idl folder should also be in firefox-dev
42 printf "Installing idl files.."
43 mkdir -p $fs/usr/share/$WANTED-$VERSION/idl &&
44 cp -rL $src/obj-firefox/dist/idl/* $fs/usr/share/$WANTED-$VERSION/idl
45 status
47 # copy missing *.pc files
48 printf "Installing pkgconfig files.."
49 mkdir -p $fs/usr/lib/pkgconfig &&
50 cp -a $stuff/*.pc $fs/usr/lib/pkgconfig &&
51 # fix version
52 sed -i "s/VERSION/$VERSION/" $fs/usr/lib/pkgconfig/*
53 status
54 }
56 # Pre and post install commands for Tazpkg.
57 post_install()
58 {
59 for i in usr/share/idl/firefox- usr/include/firefox- \
60 usr/lib/firefox-devel- ; do
61 for j in $(ls -d $1/$i* 2>/dev/null); do
62 [ "${j##*-}" = "$VERSION" ] && continue
63 [ -d $j ] && rm -rf $j
64 done
65 done
66 }