wok-next view thunderbird/receipt @ rev 14007

libvpx: fix typo
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 19:44:20 2013 +0100 (2013-02-17)
parents fbc8a4625f8a
children cd72738a73b8
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 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
9 WEB_SITE="http://www.mozilla.org/"
10 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
11 TAGS="email pop imap smtp"
12 TB_LOCALES="de es_ES fr en_GB pt_PT pt_BR ru"
14 DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg libevent libnotify nss \
15 sqlite xorg-libX11 xorg-libXdamage xorg-libXt"
16 BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype fontconfig \
17 gtk+-dev libIDL libevent-dev libnotify-dev make mesa-dev nspr-dev \
18 nss-dev perl pkg-config python sqlite-dev tar wireless_tools-dev \
19 xorg-dev xorg-libXt-dev zip"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cat <<EOF
25 WARNING: long compile time.
26 Requirements:
27 - 512MB RAM with lots of available swap space. Additional RAM will
28 significantly decrease build time.
29 - At least 2.5 GB of disk space.
30 EOF
31 # add config
32 cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
33 # languages
34 echo -e "\n# languages" >> $src/.mozconfig
35 echo "mk_add_options MOZ_CO_LOCALES=\"$TB_LOCALES\"" >> $src/.mozconfig
36 # for a quick build
37 echo -e "\n# build quicker" >> $src/.mozconfig
38 echo "mk_add_options MOZ_MAKE_FLAGS=$MAKEFLAGS" >> $src/.mozconfig
39 # build
40 cd $src
41 patch -Np1 -i $stuff/thunderbird-3.0-lang.patch
42 patch -Np1 -i $stuff/thunderbird-install-dir.patch
43 ./configure $CONFIGURE_ARGS &&
44 make 2>&1 | head -n 1000 &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib
52 # program
53 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
54 cp -a $install/usr/bin $fs/usr
55 # mcd
56 cp $stuff/autoconf.js $fs/usr/lib/$PACKAGE/defaults/pref
57 cp $stuff/thunderbird.cfg $fs/usr/lib/$PACKAGE
58 # mimetypes
60 }