Makefile 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.26
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a7f4e5e559a0e37b3ffc438c9456e425
  8. PKG_DESCR:= general purpose authentication library
  9. PKG_SECTION:= libs/crypto
  10. PKG_BUILDDEP:= openssl
  11. PKG_DEPENDS:= libopenssl
  12. PKG_URL:= http://cyrusimap.org/
  13. PKG_SITES:= ftp://ftp.cyrusimap.org/cyrus-sasl/
  14. PKG_NOPARALLEL:= 1
  15. PKG_LIBNAME:= libsasl2
  16. PKG_OPTS:= dev
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. include ${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 ${TOPDIR}/mk/pkg-bottom.mk