wok-current view thunderbird/receipt @ rev 11839
perl-encode-locale: Sync with wok-tank.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 27 01:05:37 2012 -0500 (2012-02-27) |
parents | 8e4c74abdf74 |
children | cc29898c3261 |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird"
4 VERSION="10.0.2"
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 nss sqlite xorg-libX11 xorg-libXdamage \
9 xorg-libXt libnotify libevent libvpx"
10 BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype-dev fontconfig-dev \
11 gtk+-dev libIDL libnotify-dev libvpx-dev nss-dev perl python-dev sqlite-dev \
12 tar wireless_tools-dev libevent-dev xorg-dev xorg-libXt-dev zip \
13 wireless_tools-dev yasm mesa-dev"
14 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
15 WEB_SITE="http://www.mozillamessaging.com/"
16 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
17 TAGS="email pop imap smtp"
18 LANG="de es_ES fr en_GB pt_PT pt_BR ru"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # WARNING: long compile time.
24 # Requirements:
25 # - 512MB RAM with lots of available swap space. Additional RAM will
26 # significantly decrease build time.
27 # - At least 2.5 GB of disk space.
29 # add config
30 cp -a $stuff/thunderbird.mozconfig.conf $src/.mozconfig
31 # languages
32 echo "# languages" >> $src/.mozconfig
33 echo "mk_add_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig
34 # for a quick build
35 echo "# build quicker" >> $src/.mozconfig
36 echo 'mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS"' >> $src/.mozconfig
37 # build
38 cd $src
39 patch -Np1 -i $stuff/thunderbird-3.0-lang.patch
40 patch -Np1 -i $stuff/thunderbird-install-dir.patch
41 ./configure $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 # program
51 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
52 cp -a $_pkg/usr/bin $fs/usr
53 # adding mime-type (x-html)
54 cp $stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE/defaults/profile
55 # icons and desktop file
56 mkdir -p $fs/usr/share/applications
57 cp -a $stuff/thunderbird.desktop $fs/usr/share/applications
58 mkdir -p $fs/usr/share/pixmaps
59 cp -a $stuff/thunderbird-icon.png $fs/usr/share/pixmaps
60 }