contrib/thunderbird/Pkgfile
2009-01-12 11:31:14 +01:00

36 lines
1000 B
Plaintext

# Description: Thunderbird EMail client from the Mozilla project
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Packager: 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.18
release=1
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2 \
mozconfig)
build() {
#414
unset MAKEFLAGS
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
}