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