Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= cyrus-sasl
  5. PKG_VERSION:= 2.1.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 45dde9d19193ae9dd388eb68b2027bc9
  8. PKG_DESCR:= a general purpose authentication library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libopenssl
  11. PKG_BUILDDEP+= openssl
  12. PKG_URL:= http://asg.web.cmu.edu/sasl
  13. PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --disable-sample \
  17. --enable-staticdlopen \
  18. --disable-java \
  19. --disable-alwaystrue \
  20. --disable-checkapop \
  21. --enable-cram \
  22. --enable-digest \
  23. --disable-otp \
  24. --disable-srp \
  25. --disable-srp-setpass \
  26. --disable-krb4 \
  27. --disable-gssapi \
  28. --disable-gss_mutexes \
  29. --enable-plain \
  30. --enable-anon \
  31. --disable-login \
  32. --disable-ntlm \
  33. --disable-sql \
  34. --without-dblib \
  35. --without-gdbm \
  36. --with-devrandom="/dev/urandom" \
  37. --without-pam \
  38. --without-saslauthd \
  39. --without-authdaemond \
  40. --without-pwcheck \
  41. --with-ipctype=unix \
  42. --with-openssl="${STAGING_DIR}/usr" \
  43. --without-des \
  44. --without-opie \
  45. --without-ldap \
  46. --without-mysql \
  47. --without-pgsql \
  48. --without-sqlite \
  49. --without-rc4 \
  50. --without-dmalloc \
  51. --without-sfio \
  52. --disable-static
  53. pre-build:
  54. ${MAKE} -C ${WRKBUILD}/include \
  55. CC="${HOSTCC}" \
  56. LINK="${HOSTCC} -o makemd5 -lc" \
  57. LIBS="" \
  58. CFLAGS="" \
  59. LDFLAGS="" \
  60. CPPFLAGS="" \
  61. makemd5
  62. post-install:
  63. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  64. ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib/
  65. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
  66. ${IDIR_LIBSASL2}/usr/lib/sasl2/
  67. include ${TOPDIR}/mk/pkg-bottom.mk