]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - x11/thunderbird/thunderbird
added devmapper, cryptsetup and libpopt
[hdw-linux/hdw-linux.git] / x11 / thunderbird / thunderbird
1 # hdw - linux thunderbird package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 0.7
6 # [S] 3-8
7 # [D] thunderbird-0.7-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/0.7/
8
9 srcdir=mozilla
10 optimize="`echo $hdw_cflags | awk '{ print $1 }'`"
11 export PKG_CONFIG_PATH="/usr/X11R6/lib/pkgconfig"
12
13 pre_install()   {
14         export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 MOZ_THUNDERBIRD=1
15         #sed "s,0000000000,hdw-linux -- ${hdw_version}," \
16         #       xpfe/global/build.dtd.in > xpfe/global/build.dtd.in.new
17         #mv xpfe/global/build.dtd.in.new xpfe/global/build.dtd.in
18                 }
19
20 confopt="$confopt --enable-default-toolkit=gtk2 --with-x --with-system-zlib"
21 confopt="$confopt --with-system-jpeg --with-system-png --with-extensions"
22 confopt="$confopt --enable-xft --enable-crypto --enable-xinerama"
23 confopt="$confopt --disable-tests --disable-debug --disable-dtd-debug"
24 confopt="$confopt --disable-pedantic --disable-logging --disable-accessibility"
25 confopt="$confopt --enable-strip --enable-strip-libs --enable-extensions=all"
26 confopt="$confopt --enable-optimize='$optimize'"
27
28 post_install()  {
29         cd $prefix/lib/mozilla-*
30         export MOZILLA_FIVE_HOME=$PWD
31         LD_LIBRARY_PATH=. ./regxpcom
32         LD_LIBRARY_PATH=. ./regchrome
33         touch `find $PWD -name *.rdf`
34                 }