Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= cyrus-sasl
  7. PKG_VERSION:= 2.1.22
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 45dde9d19193ae9dd388eb68b2027bc9
  10. MASTER_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS+= --disable-sample \
  15. --enable-staticdlopen \
  16. --disable-java \
  17. --disable-alwaystrue \
  18. --disable-checkapop \
  19. --enable-cram \
  20. --enable-digest \
  21. --disable-otp \
  22. --disable-srp \
  23. --disable-srp-setpass \
  24. --disable-krb4 \
  25. --disable-gssapi \
  26. --disable-gss_mutexes \
  27. --enable-plain \
  28. --enable-anon \
  29. --disable-login \
  30. --disable-ntlm \
  31. --disable-sql \
  32. --without-dblib \
  33. --without-gdbm \
  34. --with-devrandom="/dev/urandom" \
  35. --without-pam \
  36. --without-saslauthd \
  37. --without-authdaemond \
  38. --without-pwcheck \
  39. --with-ipctype=unix \
  40. --with-openssl="${STAGING_DIR}/usr" \
  41. --without-des \
  42. --without-opie \
  43. --without-ldap \
  44. --without-mysql \
  45. --without-pgsql \
  46. --without-sqlite \
  47. --without-rc4 \
  48. --without-dmalloc \
  49. --without-sfio \
  50. --disable-static
  51. BUILD_STYLE= auto
  52. INSTALL_STYLE= auto
  53. pre-build:
  54. ${MAKE} -C ${WRKBUILD}/include \
  55. CC="${HOSTCC}" \
  56. LINK="${HOSTCC} -o makemd5 -lc" \
  57. LIBS="" \
  58. CFLAGS="" \
  59. LDFLAGS="" \
  60. CPPFLAGS="" \
  61. makemd5
  62. post-install:
  63. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  64. ${CP} ${WRKINST}/usr/lib/libsasl2.so.* ${IDIR_LIBSASL2}/usr/lib/
  65. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so.* ${IDIR_LIBSASL2}/usr/lib/sasl2/
  66. include ${TOPDIR}/mk/pkg-bottom.mk