2009-01-12 18:00:27 +01:00
|
|
|
# Description: email client from the Mozilla project
|
|
|
|
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
|
|
|
# Packager: Simone Rota, sip at crux dot nu
|
2009-06-11 16:53:24 +02:00
|
|
|
# URL: http://www.mozillamessaging.com/en-US/thunderbird/
|
2012-07-22 22:43:06 +02:00
|
|
|
# Depends on: python gtk alsa-lib xorg-libxt libnotify libidl nss dbus-glib xorg-libxdamage yasm mesa3d
|
2009-01-11 12:13:13 +01:00
|
|
|
|
|
|
|
name=thunderbird
|
2012-12-05 20:45:26 +01:00
|
|
|
version=17.0
|
2011-12-01 00:58:09 +01:00
|
|
|
comm_ver=release
|
2009-01-11 12:13:13 +01:00
|
|
|
release=1
|
2010-10-06 22:42:46 +02:00
|
|
|
source=(
|
2012-03-29 22:19:59 +02:00
|
|
|
http://ftp.icm.edu.pl/packages/mozilla/$name/releases/$version/source/$name-$version.source.tar.bz2
|
2012-02-19 17:42:13 +01:00
|
|
|
$name.desktop
|
2010-10-06 22:42:46 +02:00
|
|
|
${name}_default48.png
|
|
|
|
)
|
|
|
|
|
2009-01-11 12:13:13 +01:00
|
|
|
build() {
|
2010-10-06 22:42:46 +02:00
|
|
|
cd $SRC/comm-$comm_ver
|
|
|
|
cat <<- EOF > .mozconfig
|
|
|
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-release
|
2012-02-12 16:07:57 +01:00
|
|
|
mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS -s"
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --prefix=/usr
|
|
|
|
ac_add_options --enable-application=mail
|
|
|
|
ac_add_options --with-system-nspr
|
|
|
|
ac_add_options --with-system-nss
|
|
|
|
ac_add_options --with-system-jpeg
|
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --with-system-bz2
|
|
|
|
ac_add_options --with-pthreads
|
|
|
|
ac_add_options --enable-official-branding
|
|
|
|
ac_add_options --with-distribution-id=CRUX
|
|
|
|
ac_add_options --disable-gnomevfs
|
|
|
|
ac_add_options --disable-installer
|
|
|
|
ac_add_options --disable-updater
|
2012-02-12 16:07:57 +01:00
|
|
|
#ac_add_options --enable-optimize="$(grep -o '[-]O.' <<< "${CFLAGS}")"
|
|
|
|
ac_add_options --enable-optimize="$CFLAGS"
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --disable-xterm-updates
|
2012-06-08 00:05:32 +02:00
|
|
|
#ac_add_options --enable-system-cairo
|
2010-10-06 22:42:46 +02:00
|
|
|
#ac_add_options --enable-system-sqlite
|
|
|
|
ac_add_options --with-default-mozilla-five-home
|
|
|
|
ac_add_options --disable-crashreporter
|
2011-07-01 22:09:35 +02:00
|
|
|
ac_add_options --enable-calendar
|
2010-10-06 22:42:46 +02:00
|
|
|
#ac_add_options --enable-native-uconv
|
|
|
|
#ac_add_options --enable-startup-notification
|
2011-07-01 22:09:35 +02:00
|
|
|
#ac_add_options --enable-static
|
2010-10-06 22:42:46 +02:00
|
|
|
ac_add_options --disable-necko-wifi
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
2011-12-01 00:58:09 +01:00
|
|
|
ac_add_options --disable-auto-deps
|
2012-02-12 16:07:57 +01:00
|
|
|
ac_add_options --disable-debug-symbols
|
2009-12-14 01:38:46 +01:00
|
|
|
# crux libpng doesn't support apng
|
2011-12-01 00:58:09 +01:00
|
|
|
#ac_add_options --with-system-png
|
2010-10-06 22:42:46 +02:00
|
|
|
EOF
|
|
|
|
make -f client.mk
|
|
|
|
make -f client.mk DESTDIR=$PKG install
|
|
|
|
install -D -m 0644 $SRC/${name}_default48.png \
|
|
|
|
$PKG/usr/share/pixmaps/${name}_default48.png
|
|
|
|
install -D -m 0644 $SRC/$name.desktop \
|
|
|
|
$PKG/usr/share/applications/$name.desktop
|
2009-01-12 18:00:27 +01:00
|
|
|
find $PKG -iname '*README*' -delete
|
2009-01-11 12:13:13 +01:00
|
|
|
}
|