1
0

Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_URL:= http://asg.web.cmu.edu/sasl
  11. PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS+= --disable-sample \
  16. --enable-staticdlopen \
  17. --disable-java \
  18. --disable-alwaystrue \
  19. --disable-checkapop \
  20. --enable-cram \
  21. --enable-digest \
  22. --disable-otp \
  23. --disable-srp \
  24. --disable-srp-setpass \
  25. --disable-krb4 \
  26. --disable-gssapi \
  27. --disable-gss_mutexes \
  28. --enable-plain \
  29. --enable-anon \
  30. --disable-login \
  31. --disable-ntlm \
  32. --disable-sql \
  33. --without-dblib \
  34. --without-gdbm \
  35. --with-devrandom="/dev/urandom" \
  36. --without-pam \
  37. --without-saslauthd \
  38. --without-authdaemond \
  39. --without-pwcheck \
  40. --with-ipctype=unix \
  41. --with-openssl="${STAGING_DIR}/usr" \
  42. --without-des \
  43. --without-opie \
  44. --without-ldap \
  45. --without-mysql \
  46. --without-pgsql \
  47. --without-sqlite \
  48. --without-rc4 \
  49. --without-dmalloc \
  50. --without-sfio \
  51. --disable-static
  52. BUILD_STYLE= auto
  53. INSTALL_STYLE= auto
  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.* ${IDIR_LIBSASL2}/usr/lib/sasl2/
  67. include ${TOPDIR}/mk/pkg-bottom.mk