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.

47 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../collectd/collectd.conf
  5. # Copyright (C) 2006 - 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. if [ $prefix_auto = 1 ]; then
  15. # use aa dedicated sysconfdir instead of installing into /etc
  16. sysconfdir="$sysconfdir/collectd"
  17. fi
  18. var_append GCC_WRAPPER_REMOVE ' ' '-Werror'
  19. # perl bindings
  20. if pkginstalled perl; then
  21. # options passed to "perl Makefile.PL"
  22. var_append extraconfopt ' ' "--with-perl-bindings='INSTALLDIRS=vendor'"
  23. fi
  24. # apache plugin
  25. pkginstalled apache || var_append confopt ' ' "--disable-apache"
  26. #lm_sensors plugin
  27. pkginstalled lm_sensors || var_append confopt ' ' "--disable-sensors"
  28. # mysql plugin
  29. pkginstalled mysql || var_append confopt ' ' "--disable-mysql"
  30. # postgresql plugin
  31. pkginstalled postgresql || var_append confopt ' ' "--disable-postgresql"
  32. # ntpd plugin
  33. pkginstalled ntpd || var_append confopt ' ' "--disable-ntpd"
  34. # vserver plugin
  35. pkginstalled vserver || var_append confopt ' ' "--disable-vserver"
  36. # install contrib stuff in $docdir
  37. hook_add postmake 5 "cp -av contrib $root$docdir"