Makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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_BUILDDEP+= openssl
  8. PKG_MD5SUM:= 45dde9d19193ae9dd388eb68b2027bc9
  9. PKG_DESCR:= a general purpose authentication library
  10. PKG_SECTION:= libs
  11. PKG_URL:= http://asg.web.cmu.edu/sasl
  12. PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  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. BUILD_STYLE= auto
  54. INSTALL_STYLE= auto
  55. pre-build:
  56. ${MAKE} -C ${WRKBUILD}/include \
  57. CC="${HOSTCC}" \
  58. LINK="${HOSTCC} -o makemd5 -lc" \
  59. LIBS="" \
  60. CFLAGS="" \
  61. LDFLAGS="" \
  62. CPPFLAGS="" \
  63. makemd5
  64. post-install:
  65. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  66. ${CP} ${WRKINST}/usr/lib/libsasl2.so.* ${IDIR_LIBSASL2}/usr/lib/
  67. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so.* ${IDIR_LIBSASL2}/usr/lib/sasl2/
  68. include ${TOPDIR}/mk/pkg-bottom.mk