Makefile 1.9 KB

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