Makefile 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. PKG_NOPARALLEL:= 1
  15. PKG_SUBPKGS:= LIBSASL2 LIBSASL2_DEV
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBSASL2_DEV,libsasl2-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --disable-sample \
  20. --enable-staticdlopen \
  21. --disable-java \
  22. --disable-alwaystrue \
  23. --disable-checkapop \
  24. --enable-cram \
  25. --enable-digest \
  26. --disable-otp \
  27. --disable-srp \
  28. --disable-srp-setpass \
  29. --disable-krb4 \
  30. --disable-gssapi \
  31. --disable-gss_mutexes \
  32. --enable-plain \
  33. --enable-anon \
  34. --disable-login \
  35. --disable-ntlm \
  36. --disable-sql \
  37. --without-dblib \
  38. --without-gdbm \
  39. --with-devrandom="/dev/urandom" \
  40. --without-pam \
  41. --without-saslauthd \
  42. --without-authdaemond \
  43. --without-pwcheck \
  44. --with-ipctype=unix \
  45. --with-openssl="${STAGING_TARGET_DIR}/usr" \
  46. --without-des \
  47. --without-opie \
  48. --without-ldap \
  49. --without-mysql \
  50. --without-pgsql \
  51. --without-sqlite \
  52. --without-rc4 \
  53. --without-dmalloc \
  54. --without-sfio \
  55. --disable-static
  56. pre-build:
  57. ${MAKE} -C ${WRKBUILD}/include \
  58. CC="${CC_FOR_BUILD}" \
  59. LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
  60. LIBS="" \
  61. CFLAGS="${CFLAGS_FOR_BUILD}" \
  62. LDFLAGS="" \
  63. CPPFLAGS="" \
  64. makemd5
  65. libsasl2-install:
  66. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  67. ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib
  68. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
  69. ${IDIR_LIBSASL2}/usr/lib/sasl2
  70. libsasl2-dev-install:
  71. ${INSTALL_DIR} ${IDIR_LIBSASL2_DEV}/usr/include
  72. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBSASL2_DEV}/usr/include
  73. include ${TOPDIR}/mk/pkg-bottom.mk