1
0

Makefile 1.9 KB

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