Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= cyrus-sasl
  5. PKG_VERSION:= 2.1.26
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
  8. PKG_DESCR:= general purpose authentication library
  9. PKG_SECTION:= libs/crypto
  10. PKG_DEPENDS:= libressl
  11. PKG_BUILDDEP:= libressl
  12. PKG_URL:= http://cyrusimap.org/
  13. PKG_SITES:= ftp://ftp.cyrusimap.org/cyrus-sasl/
  14. PKG_LIBNAME:= libsasl2
  15. PKG_OPTS:= dev
  16. PKG_NOPARALLEL:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. include ${ADK_TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ARGS+= --enable-plain \
  21. --enable-login \
  22. --disable-anon \
  23. --disable-cram \
  24. --disable-digest \
  25. --disable-scram \
  26. --with-ipctype=unix \
  27. --with-devrandom="/dev/urandom" \
  28. --with-openssl="${STAGING_TARGET_DIR}/usr" \
  29. --disable-sample \
  30. --disable-java \
  31. --disable-alwaystrue \
  32. --disable-checkapop \
  33. --disable-otp \
  34. --disable-srp \
  35. --disable-srp-setpass \
  36. --disable-krb4 \
  37. --disable-gssapi \
  38. --disable-gss_mutexes \
  39. --disable-ntlm \
  40. --disable-sql \
  41. --disable-static \
  42. --without-dblib \
  43. --without-gdbm \
  44. --without-pam \
  45. --without-saslauthd \
  46. --without-authdaemond \
  47. --without-pwcheck \
  48. --without-des \
  49. --without-opie \
  50. --without-ldap \
  51. --without-mysql \
  52. --without-pgsql \
  53. --without-sqlite \
  54. --without-rc4 \
  55. --without-dmalloc \
  56. --without-sfio
  57. pre-build:
  58. ${MAKE} -C ${WRKBUILD}/include \
  59. CC="${CC_FOR_BUILD}" \
  60. LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
  61. LIBS="" \
  62. CFLAGS="${CFLAGS_FOR_BUILD}" \
  63. LDFLAGS="" \
  64. CPPFLAGS="" \
  65. makemd5
  66. libsasl2-install:
  67. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  68. ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib
  69. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
  70. ${IDIR_LIBSASL2}/usr/lib/sasl2
  71. include ${ADK_TOPDIR}/mk/pkg-bottom.mk