forked from ports/contrib
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# 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
|
|
# URL: http://www.mozillamessaging.com/en-US/thunderbird/
|
|
# Depends on: python gtk dbus-glib alsa-lib libidl nss
|
|
|
|
name=thunderbird
|
|
version=3.0.4
|
|
release=1
|
|
source=(http://mozilla.snt.utwente.nl/$name/releases/$version/source/$name-$version.source.tar.bz2
|
|
$name.desktop)
|
|
|
|
build() {
|
|
#cd comm-1.9.1/mozilla
|
|
#patch -p 1 -i $SRC/breakpad.patch
|
|
cd $SRC/comm-1.9.1
|
|
./configure --prefix=/usr \
|
|
--enable-application=mail \
|
|
--with-system-{nspr,nss} \
|
|
--with-system-jpeg \
|
|
--with-system-zlib \
|
|
--with-system-bz2 \
|
|
--with-pthreads \
|
|
--enable-official-branding \
|
|
--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 \
|
|
--with-default-mozilla-five-home \
|
|
--disable-crashreporter
|
|
# crux libpng doesn't support apng
|
|
# --with-system-png
|
|
make
|
|
sed -i '98d' mail/installer/Makefile
|
|
make DESTDIR=$PKG install
|
|
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
|
|
find $PKG -iname '*README*' -delete
|
|
}
|