OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  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
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  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 ---
  16. if [ $prefix_auto = 1 ] ; then
  17. prefix=$mozilla_prefix
  18. set_confopt
  19. fi
  20. mozilla_config() {
  21. cat >> .mozconfig <<-EOT
  22. ac_add_options --enable-application=suite
  23. ac_add_options --with-extensions
  24. ac_add_options --enable-extensions=default,venkman,inspector
  25. ac_add_options --enable-jsd
  26. ac_add_options --enable-mathml
  27. ac_add_options --enable-module=psm
  28. EOT
  29. }
  30. mozilla_postinstall() {
  31. echo "Copy all mozilla include files" \
  32. "(required for building galeon, evolution, etc.) ..."
  33. cp -v xpcom/base/nscore.h $includedir/$pkg-$ver/xpcom/
  34. cp -v xpcom/glue/nsDebug.h $includedir/$pkg-$ver/xpcom/
  35. cp -rL dist/include/* $includedir/$pkg-$ver/
  36. cp -rL dist/public/* $includedir/$pkg-$ver/
  37. echo "Creating /etc/profile.d/$pkg ..."
  38. cat <<- EOT > $root/etc/profile.d/$pkg
  39. export MOZILLA_FIVE_HOME=$MOZILLA_FIVE_HOME
  40. EOT
  41. echo "Creating library symlinks ..."
  42. cd $libdir
  43. for i in ldap50 nspr4 nss3 plc4 plds4 prldap50 smime3 softokn3 ssl3 ; do
  44. ln -sf $libdir/$pkg-$ver/lib${i}.so $libdir/lib${i}.so
  45. done
  46. }
  47. hook_add preconf 8 'mozilla_config'
  48. hook_add postmake 8 'mozilla_postinstall'