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.

57 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gnutls/gnutls.conf
  5. # Copyright (C) 2008 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. # Note: By providing '--with-$foo-prefix' we help gnutls to cross-compile
  15. # readline support
  16. if pkginstalled readline ; then
  17. pkgprefix -t readline
  18. var_append extraconfopt ' ' \
  19. "--with-libreadline-prefix=$root/$( pkgprefix readline )"
  20. fi
  21. # zlib compression support
  22. if pkginstalled zlib ; then
  23. pkgprefix -t zlib
  24. var_append extraconfopt ' ' \
  25. "--with-libz-prefix=$root/$( pkgprefix zlib)"
  26. else
  27. var_append extraconfopt ' ' "--without-zlib"
  28. fi
  29. # libtasn1 support
  30. if pkginstalled libtasn1 ; then
  31. pkgprefix -t libtasn1
  32. var_append extraconfopt ' ' \
  33. "--with-libtasn1-prefix=$root/$( pkgprefix libtasn1)"
  34. else
  35. var_append extraconfopt ' ' "--with-included-libtasn1"
  36. fi
  37. # libgcrypt support
  38. if pkginstalled libgcrypt ; then
  39. pkgprefix -t libgcrypt
  40. var_append extraconfopt ' ' '--with-libgcrypt'
  41. var_append extraconfopt ' ' \
  42. "--with-libgcrypt-prefix=$root/$( pkgprefix libgcrypt )"
  43. fi
  44. # opencdk support
  45. if pkginstalled opencdk ; then
  46. pkgprefix -t opencdk
  47. var_append extraconfopt ' ' \
  48. "--with-libopencdk-prefix=$root/$( pkgprefix opencdk )"
  49. else
  50. var_append extraconfopt ' ' "--with-included-opencdk"
  51. fi