opt/thunderbird/Pkgfile

33 lines
898 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Thunderbird EMail client from the Mozilla project
2008-01-30 21:05:45 +01:00
# Maintainer: Simone Rota, sip at crux dot nu
2006-02-23 16:26:10 +01:00
# URL: http://www.mozilla.org/projects/thunderbird/
# Depends on: libidl, gtk, libjpeg, libpng, zlib, expat
name=thunderbird
version=2.0.0.12
2006-02-23 16:26:10 +01:00
release=1
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version-source.tar.bz2 \
2006-02-23 16:26:10 +01:00
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
}