Makefile 2.0 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.26
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= a7f4e5e559a0e37b3ffc438c9456e425
  8. PKG_DESCR:= a general purpose authentication library
  9. PKG_SECTION:= libs
  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. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --enable-plain \
  20. --enable-login \
  21. --disable-anon \
  22. --disable-cram \
  23. --disable-digest \
  24. --disable-scram \
  25. --with-ipctype=unix \
  26. --with-devrandom="/dev/urandom" \
  27. --with-openssl="${STAGING_TARGET_DIR}/usr" \
  28. --disable-sample \
  29. --disable-java \
  30. --disable-alwaystrue \
  31. --disable-checkapop \
  32. --disable-otp \
  33. --disable-srp \
  34. --disable-srp-setpass \
  35. --disable-krb4 \
  36. --disable-gssapi \
  37. --disable-gss_mutexes \
  38. --disable-ntlm \
  39. --disable-sql \
  40. --disable-static \
  41. --without-dblib \
  42. --without-gdbm \
  43. --without-pam \
  44. --without-saslauthd \
  45. --without-authdaemond \
  46. --without-pwcheck \
  47. --without-des \
  48. --without-opie \
  49. --without-ldap \
  50. --without-mysql \
  51. --without-pgsql \
  52. --without-sqlite \
  53. --without-rc4 \
  54. --without-dmalloc \
  55. --without-sfio
  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. include ${TOPDIR}/mk/pkg-bottom.mk