1
0

Makefile 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. PKG_SUBPKGS:= LIBSASL2 LIBSASL2_DEV
  16. PKGSD_LIBSASL2_DEV:= sasl2 headers
  17. PKGSC_LIBSASL2_DEV:= devel
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,LIBSASL2_DEV,libsasl2-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSASL2_DEV},${PKGSC_LIBSASL2_DEV}))
  21. CONFIGURE_ARGS+= --disable-sample \
  22. --enable-staticdlopen \
  23. --disable-java \
  24. --disable-alwaystrue \
  25. --disable-checkapop \
  26. --enable-cram \
  27. --enable-digest \
  28. --disable-otp \
  29. --disable-srp \
  30. --disable-srp-setpass \
  31. --disable-krb4 \
  32. --disable-gssapi \
  33. --disable-gss_mutexes \
  34. --enable-plain \
  35. --enable-anon \
  36. --disable-login \
  37. --disable-ntlm \
  38. --disable-sql \
  39. --without-dblib \
  40. --without-gdbm \
  41. --with-devrandom="/dev/urandom" \
  42. --without-pam \
  43. --without-saslauthd \
  44. --without-authdaemond \
  45. --without-pwcheck \
  46. --with-ipctype=unix \
  47. --with-openssl="${STAGING_TARGET_DIR}/usr" \
  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. --disable-static
  58. pre-build:
  59. ${MAKE} -C ${WRKBUILD}/include \
  60. CC="${CC_FOR_BUILD}" \
  61. LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
  62. LIBS="" \
  63. CFLAGS="${CFLAGS_FOR_BUILD}" \
  64. LDFLAGS="" \
  65. CPPFLAGS="" \
  66. makemd5
  67. libsasl2-install:
  68. ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
  69. ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib
  70. ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
  71. ${IDIR_LIBSASL2}/usr/lib/sasl2
  72. libsasl2-dev-install:
  73. ${INSTALL_DIR} ${IDIR_LIBSASL2_DEV}/usr/include
  74. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBSASL2_DEV}/usr/include
  75. include ${TOPDIR}/mk/pkg-bottom.mk