1 # hdw - linux thunderbird package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] thunderbird-1.0-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/1.0/source/
10 optimize="`echo $hdw_cflags | awk '{ print $1 }'`"
11 export PKG_CONFIG_PATH="$prefix/X11R6/lib/pkgconfig"
14 export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 MOZ_THUNDERBIRD=1
15 export MOZILLA_FIVE_HOME=$prefix/lib/thunderbird-$ver
16 sed "s,0000000000,hdw-linux -- ${hdw_version}," \
17 xpfe/global/build.dtd.in > xpfe/global/build.dtd.in.new
18 mv xpfe/global/build.dtd.in.new xpfe/global/build.dtd.in
21 confopt="$confopt --enable-default-toolkit=gtk2 --with-x --with-system-zlib"
22 confopt="$confopt --with-system-jpeg --with-system-png"
23 confopt="$confopt --with-default-mozilla-five-home=$MOZILLA_FIVE_HOME"
24 confopt="$confopt --enable-xft --enable-crypto --enable-xinerama"
25 confopt="$confopt --enable-application=mail --enable-strip --enable-strip-libs"
26 confopt="$confopt --enable-reorder --enable-cpp-rtti --enable-extensions=all"
27 confopt="$confopt --disable-tests --disable-debug --disable-extensions"
28 confopt="$confopt --disable-pedantic --disable-logging --disable-accessibility"
29 confopt="$confopt --disable-freetype2 --disable-installer --disable-mathml"
30 confopt="$confopt --disable-profilesharing --enable-single-profile"
31 confopt="$confopt --disable-oji --disable-plugins --disable-necko-disk-cache"
32 confopt="$confopt --enable-optimize='$optimize'"
35 install -d $prefix/include/thunderbird-$ver/nss
36 cp -vLf dist/private/nss/*.h dist/public/nss/*.h \
37 $prefix/include/thunderbird-$ver/nss
38 ln -sfv thunderbird-$ver $prefix/lib/thunderbird
39 ln -sfv thunderbird-$ver $prefix/include/thunderbird
41 cd $prefix/lib/thunderbird-$ver
42 LD_LIBRARY_PATH=. ./regxpcom
43 LD_LIBRARY_PATH=. ./regchrome
44 touch `find $PWD -name *.rdf`