wok view thunderbird/receipt @ rev 13599
Add python-psutil
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Nov 09 20:47:26 2012 +0000 (2012-11-09) |
parents | 95c157f0be92 |
children | 6b09507225ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird"
4 VERSION="11.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Mozilla's Thunderbird email application."
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg libevent libnotify nss \
9 sqlite xorg-libX11 xorg-libXdamage xorg-libXt"
10 BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype fontconfig \
11 gtk+-dev libIDL libevent-dev libnotify-dev make mesa-dev nspr-dev \
12 nss-dev perl pkg-config python sqlite-dev tar wireless_tools-dev \
13 xorg-dev xorg-libXt-dev zip"
14 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
15 WEB_SITE="http://www.mozilla.org/"
16 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
17 TAGS="email pop imap smtp"
18 TB_LOCALES="de es_ES fr en_GB pt_PT pt_BR ru"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cat <<EOF
24 WARNING: long compile time.
25 Requirements:
26 - 512MB RAM with lots of available swap space. Additional RAM will
27 significantly decrease build time.
28 - At least 2.5 GB of disk space.
29 EOF
30 # add config
31 cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
32 # languages
33 echo -e "\n# languages" >> $src/.mozconfig
34 echo "mk_add_options MOZ_CO_LOCALES=\"$TB_LOCALES\"" >> $src/.mozconfig
35 # for a quick build
36 echo -e "\n# build quicker" >> $src/.mozconfig
37 echo "mk_add_options MOZ_MAKE_FLAGS=$MAKEFLAGS" >> $src/.mozconfig
38 # build
39 cd $src
40 patch -Np1 -i $stuff/thunderbird-3.0-lang.patch
41 patch -Np1 -i $stuff/thunderbird-install-dir.patch
42 ./configure $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib
51 # program
52 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
53 cp -a $_pkg/usr/bin $fs/usr
54 # mcd
55 cp $stuff/autoconf.js $fs/usr/lib/$PACKAGE/defaults/pref
56 cp $stuff/thunderbird.cfg $fs/usr/lib/$PACKAGE
57 # mimetypes
59 }