contrib/thunderbird/Pkgfile

44 lines
1.4 KiB
Plaintext
Raw Normal View History

2009-01-12 18:00:27 +01:00
# Description: email client from the Mozilla project
# Maintainer: Bartlomiej Palmowski, rotwang at crux dot org dot pl
# Packager: Simone Rota, sip at crux dot nu
2009-06-11 16:53:24 +02:00
# URL: http://www.mozillamessaging.com/en-US/thunderbird/
2009-12-14 01:38:46 +01:00
# Depends on: python gtk dbus-glib alsa-lib libidl nss
2009-01-11 12:13:13 +01:00
name=thunderbird
2010-04-07 20:42:57 +02:00
version=3.0.4
2009-01-11 12:13:13 +01:00
release=1
2009-12-14 01:38:46 +01:00
source=(http://mozilla.snt.utwente.nl/$name/releases/$version/source/$name-$version.source.tar.bz2
$name.desktop)
2009-01-11 12:13:13 +01:00
build() {
2009-12-15 01:25:32 +01:00
#cd comm-1.9.1/mozilla
#patch -p 1 -i $SRC/breakpad.patch
cd $SRC/comm-1.9.1
2009-01-12 18:00:27 +01:00
./configure --prefix=/usr \
--enable-application=mail \
--with-system-{nspr,nss} \
--with-system-jpeg \
--with-system-zlib \
2009-12-15 01:25:32 +01:00
--with-system-bz2 \
--with-pthreads \
2009-01-12 18:00:27 +01:00
--enable-official-branding \
2009-12-14 01:38:46 +01:00
--with-distribution-id=CRUX \
--disable-gnomevfs \
--disable-installer \
--disable-updater \
--enable-optimize="$(grep -o .O. <<< "${CFLAGS}")" \
--enable-xterm-updates \
--enable-system-cairo \
--enable-system-sqlite \
--disable-tests \
2009-12-15 01:25:32 +01:00
--with-default-mozilla-five-home \
--disable-crashreporter
2009-12-14 01:38:46 +01:00
# crux libpng doesn't support apng
# --with-system-png
2009-01-12 18:00:27 +01:00
make
2009-12-14 01:38:46 +01:00
sed -i '98d' mail/installer/Makefile
2009-01-12 18:00:27 +01:00
make DESTDIR=$PKG install
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
find $PKG -iname '*README*' -delete
2009-01-11 12:13:13 +01:00
}