opt/thunderbird/Pkgfile
Simone Rota 59e155da72 [notify] thunderbird: updated to 2.0.0.12
Updated version closes a flaw allowing remote
code execution, see

http://www.vnunet.com/vnunet/news/2210683/mozilla-patches-critical-mail
2008-03-04 10:04:21 +00:00

33 lines
898 B
Plaintext

# Description: Thunderbird EMail client from the Mozilla project
# Maintainer: Simone Rota, sip at crux dot nu
# URL: http://www.mozilla.org/projects/thunderbird/
# Depends on: libidl, gtk, libjpeg, libpng, zlib, expat
name=thunderbird
version=2.0.0.12
release=1
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2 \
mozconfig)
build() {
cd mozilla
# configure
sed -e "s/#CFLAGS#/$CFLAGS/" $SRC/mozconfig > .mozconfig
# build it
make -f client.mk build_all
# put everything in the right place
mkdir -p $PKG/usr/lib/thunderbird $PKG/usr/bin
cp -rL --no-preserve=links dist/bin/* $PKG/usr/lib/thunderbird/
(cd $PKG/usr/bin && ln -s ../lib/thunderbird/thunderbird thunderbird)
# register components
cd $PKG/usr/lib/thunderbird
MOZILLA_FIVE_HOME=$PWD LD_LIBRARY_PATH=$PWD ./regxpcom
# fix ownership
chown -R root:root $PKG
}