2012-12-17 11:32:21 +00:00
|
|
|
# Template build file for 'thunderbird'.
|
|
|
|
pkgname=thunderbird
|
2013-10-15 09:40:22 +00:00
|
|
|
version=24.0.1
|
2013-07-23 04:29:37 +00:00
|
|
|
revision=1
|
2013-09-18 08:34:33 +00:00
|
|
|
wrksrc="comm-esr24"
|
2012-12-17 11:32:21 +00:00
|
|
|
short_desc="Standalone Mail/News reader"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.mozilla.org/thunderbird/"
|
|
|
|
license="MPL-1.1, GPL-2, LGPL-2.1"
|
|
|
|
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
2013-10-15 09:40:22 +00:00
|
|
|
checksum=171086f079ea6a254780cf8348bea684c19c07f6b9f855b9e2fa18ad09e715cb
|
2012-12-17 11:32:21 +00:00
|
|
|
|
2013-04-30 16:38:05 +00:00
|
|
|
hostmakedepends="unzip zip perl python yasm pkg-config"
|
2013-09-18 08:38:35 +00:00
|
|
|
makedepends="python-devel libjpeg-turbo-devel hunspell-devel
|
2012-12-17 11:32:21 +00:00
|
|
|
pixman-devel libIDL-devel nss-devel>=3.13.3 sqlite-devel libXrender-devel
|
|
|
|
gtk+-devel libevent-devel libnotify-devel libvpx-devel GConf-devel
|
|
|
|
startup-notification-devel dbus-glib-devel alsa-lib-devel hunspell-devel
|
2013-04-30 16:42:14 +00:00
|
|
|
wireless_tools-devel libXScrnSaver-devel libSM-devel libXt-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2012-12-17 11:32:21 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp -f ${FILESDIR}/mozconfig .mozconfig
|
|
|
|
export LDFLAGS="-Wl,-R/usr/lib/thunderbird"
|
|
|
|
|
2013-09-18 08:38:35 +00:00
|
|
|
SHELL=/bin/bash make ${makejobs} -f client.mk MOZ_MAKE_FLAGS="${makejobs}"
|
2012-12-17 11:32:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make -f client.mk DESTDIR=${DESTDIR} install
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/vendor.js 644 usr/lib/thunderbird/defaults/pref
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/thunderbird.desktop 644 usr/share/applications
|
|
|
|
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
|
|
|
vinstall other-licenses/branding/thunderbird/mailicon${i%x*}.png 644 \
|
|
|
|
usr/share/icons/hicolor/${i}/apps thunderbird.png
|
|
|
|
done
|
|
|
|
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/thunderbird/{dictionaries,hyphenation}
|
|
|
|
ln -sf /usr/share/hunspell ${DESTDIR}/usr/lib/thunderbird/dictionaries
|
|
|
|
ln -sf /usr/share/hyphen ${DESTDIR}/usr/lib/thunderbird/hyphenation
|
|
|
|
|
|
|
|
# We don't want the development stuff
|
|
|
|
rm -r ${DESTDIR}/usr/{include,lib/thunderbird-devel,share/idl}
|
|
|
|
}
|