1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../seamonkey/seamonkey.conf
5 # Copyright (C) 2007 The OpenSDE Project
6 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # Copyright (C) 1998 - 2004 Clifford Wolf
9 # More information can be found in the files COPYING and README.
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; version 2 of the License. A copy of the
14 # GNU General Public License can be found in the file COPYING.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 if [ $prefix_auto = 1 ] ; then
18 prefix=$mozilla_prefix
23 cat >> .mozconfig <<-EOT
24 ac_add_options --enable-application=suite
25 ac_add_options --with-extensions
26 ac_add_options --enable-extensions=default,venkman,inspector
27 ac_add_options --enable-jsd
28 ac_add_options --enable-mathml
29 ac_add_options --enable-module=psm
33 mozilla_postinstall() {
34 echo "Copy all mozilla include files" \
35 "(required for building galeon, evolution, etc.) ..."
36 cp -v xpcom/base/nscore.h $includedir/$pkg-$ver/xpcom/
37 cp -v xpcom/glue/nsDebug.h $includedir/$pkg-$ver/xpcom/
38 cp -rL dist/include/* $includedir/$pkg-$ver/
39 cp -rL dist/public/* $includedir/$pkg-$ver/
41 echo "Creating /etc/profile.d/$pkg ..."
42 cat <<- EOT > $root/etc/profile.d/$pkg
43 export MOZILLA_FIVE_HOME=$MOZILLA_FIVE_HOME
46 echo "Creating library symlinks ..."
48 for i in ldap50 nspr4 nss3 plc4 plds4 prldap50 smime3 softokn3 ssl3 ; do
49 ln -sf $libdir/$pkg-$ver/lib${i}.so $libdir/lib${i}.so
53 hook_add preconf 8 'mozilla_config'
54 hook_add postmake 8 'mozilla_postinstall'