2009-12-22 14:33:52 +00:00
|
|
|
# Template build file for 'thunderbird'.
|
|
|
|
pkgname=thunderbird
|
2010-05-07 12:23:26 +00:00
|
|
|
version=3.0.4
|
2009-12-22 14:33:52 +00:00
|
|
|
wrksrc=comm-1.9.1
|
2009-12-28 16:45:55 +00:00
|
|
|
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
2009-12-22 14:33:52 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--enable-application=mail --enable-default-toolkit=cairo-gtk2
|
|
|
|
--disable-dbus --disable-crashreporter --disable-tests --disable-debug
|
2010-01-13 15:09:03 +00:00
|
|
|
--enable-optimize --disable-embedding-tests --disable-installer
|
|
|
|
--disable-embedding-tests --disable-necko-wifi --disable-libnotify
|
|
|
|
--with-system-zlib --with-system-bz2 --enable-system-cairo
|
|
|
|
--with-system-png --with-system-nspr --with-system-nss
|
2010-05-07 12:23:26 +00:00
|
|
|
--disable-javaxpcom --with-system-jpeg --with-system-sqlite
|
|
|
|
--disable-gnomevfs --disable-gnomeui --disable-gconf"
|
2009-12-22 14:33:52 +00:00
|
|
|
short_desc="Mozilla mail client"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-05-07 12:23:26 +00:00
|
|
|
checksum=fdf28d6a9ea42c98557554ba28d0a3a8db11475eee49f16aa4a3aaf2ca1f1343
|
2009-12-22 14:33:52 +00:00
|
|
|
long_desc="
|
2009-12-28 16:45:55 +00:00
|
|
|
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
|
|
|
|
goal is to produce a cross platform stand alone mail application using
|
|
|
|
the XUL user interface language. This version uses the gtk2 toolkit."
|
2009-12-22 14:33:52 +00:00
|
|
|
|
2010-01-13 15:09:03 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run xulrunner
|
|
|
|
Add_dependency run nspr
|
|
|
|
Add_dependency run alsa-lib
|
2009-12-22 14:40:49 +00:00
|
|
|
Add_dependency run libstdc++
|
2010-01-13 15:09:03 +00:00
|
|
|
Add_dependency run libgcc
|
2009-12-22 14:40:49 +00:00
|
|
|
Add_dependency run gtk+
|
2010-01-13 15:09:03 +00:00
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run sqlite
|
|
|
|
Add_dependency run libXrender
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXt
|
|
|
|
Add_dependency run jpeg
|
|
|
|
Add_dependency run libpng
|
|
|
|
Add_dependency run nss
|
|
|
|
Add_dependency run bzip2
|
2009-12-22 14:40:49 +00:00
|
|
|
Add_dependency build zip
|
|
|
|
Add_dependency build python
|
2010-01-13 15:09:03 +00:00
|
|
|
Add_dependency build glibc-devel
|
2009-12-22 14:40:49 +00:00
|
|
|
Add_dependency build xulrunner-devel
|
2010-01-13 15:09:03 +00:00
|
|
|
Add_dependency build nspr-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
|
|
|
Add_dependency build libstdc++-devel
|
|
|
|
Add_dependency build gtk+-devel
|
|
|
|
Add_dependency build atk-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pango-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build fontconfig-devel
|
|
|
|
Add_dependency build cairo-devel
|
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build sqlite-devel
|
|
|
|
Add_dependency build libXrender-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build libXt-devel
|
|
|
|
Add_dependency build jpeg-devel
|
|
|
|
Add_dependency build libpng-devel
|
|
|
|
Add_dependency build nss-devel
|
|
|
|
Add_dependency build bzip2-devel
|
2009-12-22 14:40:49 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2010-01-13 15:09:03 +00:00
|
|
|
# Remove libsqlite3 shlib provided by sqlite.
|
|
|
|
rm -f ${DESTDIR}/usr/lib/$pkgname-$version/libsqlite3.so || return 1
|
|
|
|
|
2009-12-22 14:40:49 +00:00
|
|
|
install -d ${DESTDIR}/usr/share/applications || return 1
|
|
|
|
install -d ${DESTDIR}/usr/share/pixmaps || return 1
|
|
|
|
install -m644 ${FILESDIR}/*.desktop \
|
|
|
|
${DESTDIR}/usr/share/applications || return 1
|
|
|
|
install -m644 ${wrksrc}/mail/branding/nightly/mailicon48.png \
|
|
|
|
${DESTDIR}/usr/share/pixmaps/thunderbird.png || return 1
|
2009-12-28 16:45:55 +00:00
|
|
|
}
|