wok-current annotate thunderbird/receipt @ rev 12329
Up: libv4l to 0.8.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 08:29:48 2012 +0000 (2012-04-19) |
parents | 9c762d56b413 |
children | 0fcb283af425 |
rev | line source |
---|---|
domcox@6080 | 1 # SliTaz package receipt. |
domcox@6080 | 2 |
domcox@6080 | 3 PACKAGE="thunderbird" |
domcox@12154 | 4 VERSION="11.0" |
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@6137 | 18 LANG="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@11863 | 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@6080 | 33 echo "# languages" >> $src/.mozconfig |
slaxemulator@11820 | 34 echo "mk_add_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig |
domcox@6080 | 35 # for a quick build |
domcox@6080 | 36 echo "# build quicker" >> $src/.mozconfig |
gokhlayeh@11574 | 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@6080 | 54 # adding mime-type (x-html) |
slaxemulator@11820 | 55 cp $stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE/defaults/profile |
domcox@6080 | 56 } |
domcox@11863 | 57 |
domcox@11863 | 58 |
domcox@11863 | 59 |