void-packages/srcpkgs/thunderbird/template

39 lines
1.6 KiB
Plaintext

# Template build file for 'thunderbird'.
pkgname=thunderbird
version=3.0
wrksrc=comm-1.9.1
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
build_style=gnu_configure
configure_args="--enable-application=mail --enable-default-toolkit=cairo-gtk2
--disable-dbus --disable-crashreporter --disable-tests --disable-debug
--enable-optimize --disable-embedding-tests --disable-installer --disable-javaxpcom
--disable-embedding-tests --disable-necko-wifi --disable-libnotify --with-system-jpeg
--with-system-zlib --with-system-bz2 --enable-system-cairo --with-system-sqlite
--with-system-png --with-system-nspr --with-system-nss"
# --enable-libxul --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.1"
short_desc="Mozilla mail client"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=750fc955e4474eef9ec36e8193df2811bcafb2b8cf27ecc0ebe65cec2eb33067
long_desc="
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."
Add_dependency run libstdc++
Add_dependency run gtk+
Add_dependency run xulrunner
Add_dependency build zip
Add_dependency build python
Add_dependency build gtk+-devel
Add_dependency build xulrunner-devel
post_install()
{
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
}