wok-current view thunderbird/receipt @ rev 7501

Up: poppler to 0.14.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 04 04:11:44 2010 +0000 (2010-12-04)
parents 6f3bf60ef747
children e752b9cf0633
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird"
4 VERSION="3.1.6"
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 xorg-libXt"
9 BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype fontconfig gtk+-dev libIDL libnotify-dev make nss-dev perl pkg-config python sqlite-dev tar wireless_tools-dev xorg-dev xorg-libXt-dev zip"
10 TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
11 WEB_SITE="http://www.mozillamessaging.com/"
12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL"
13 TAGS="email pop imap smtp"
14 LANG="de es_ES fr en_GB pt_PT pt_BR ru"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # WARNING: long compile time.
20 # Requirements:
21 # - 512MB RAM with lots of available swap space. Additional RAM will
22 # significantly decrease build time.
23 # - At least 2.5 GB of disk space.
25 # Move the mozilla source tree to $PACKAGE-$VERSION to keep variables
26 # and to have a nice clean.
27 cd $WOK/$PACKAGE
28 echo -n "Checking source"
29 [ -d comm-* ] && mv comm-* $PACKAGE-$VERSION 2>/dev/null
30 [ -d $PACKAGE-$VERSION ] || (echo "src not found, exiting" ; exit 1)
31 status
32 # add config
33 cp -a stuff/thunderbird.mozconfig.conf $src/.mozconfig
34 # languages
35 echo "# languages" >> $src/.mozconfig
36 echo "mk_ad_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig
37 # for a quick build
38 echo "# build quicker" >> $src/.mozconfig
39 echo 'mk_add_options MOZ_MAKE_FLAGS="-j4"' >> $src/.mozconfig
40 # build
41 cd $src
42 ./configure $CONFIGURE_ARGS &&
43 make &&
44 make DESTDIR=$PWD/_pkg install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr
51 # program
52 cp -a $_pkg/usr/lib $fs/usr
53 cp -a $_pkg/usr/bin $fs/usr
54 # adding mime-type (x-html)
55 cp stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
56 # icons and desktop file
57 mkdir -p $fs/usr/share/applications
58 cp -a stuff/thunderbird.desktop $fs/usr/share/applications
59 mkdir -p $fs/usr/share/pixmaps
60 cp -a stuff/thunderbird-icon.png $fs/usr/share/pixmaps
61 }
63 clean_wok()
64 {
65 rm -rf $WOK/$PACKAGE-*/taz
66 rm -rf $WOK/$PACKAGE-*/process.log
67 }