wok-6.x view firefox-dev/receipt @ rev 11315

Add: mpd123-dev
author Alexander Medvedev <devl547@gmail.com>
date Wed Nov 16 05:56:26 2011 +0000 (2011-11-16)
parents 4d5a84939dfc
children 66be26816f41
line source
1 # SliTaz package receipt.
3 PACKAGE="firefox-dev"
4 VERSION="8.0"
5 CATEGORY="development"
6 SHORT_DESC="firefox devel files"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="alsa-lib sqlite seamonkey cairo dbus-glib pango atk \
9 libgio xorg-libXt xorg-libXinerama \
10 xorg-libXcursor xorg-libXcomposite xorg-libXext xorg-libXdamage libxcb \
11 xorg-libSM xorg-libICE"
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 cp -a $_pkg/typelib/xpidl/xpidl $fs/usr/lib/firefox-devel-$VERSION/sdk/lib
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 for i in usr/share/idl/firefox- usr/include/firefox- \
39 usr/lib/firefox-devel- ; do
40 for j in $(ls -d $1/$i*); do
41 [ "${j##*-}" = "$VERSION" ] && continue
42 rm -rf $j
43 done
44 done
45 }