1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
10 PKG_DESCR
:= general purpose authentication library
11 PKG_SECTION
:= libs
/crypto
12 PKG_DEPENDS
:= libopenssl
13 PKG_BUILDDEP
:= openssl
14 PKG_URL
:= http
://cyrusimap.org
/
15 PKG_SITES
:= ftp
://ftp.cyrusimap.org
/cyrus-sasl
/
16 PKG_LIBNAME
:= libsasl2
21 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
23 include ${ADK_TOPDIR}/mk
/package.mk
25 $(eval
$(call PKG_template
,LIBSASL2
,libsasl2
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 CONFIGURE_ARGS
+= --enable-plain \
34 --with-devrandom
="/dev/urandom" \
35 --with-openssl
="${STAGING_TARGET_DIR}/usr" \
38 --disable-alwaystrue \
42 --disable-srp-setpass \
45 --disable-gss_mutexes \
53 --without-authdaemond \
66 ${MAKE} -C
${WRKBUILD}/include \
67 CC
="${CC_FOR_BUILD}" \
68 LINK
="${CC_FOR_BUILD} -o makemd5 -lc" \
70 CFLAGS
="${CFLAGS_FOR_BUILD}" \
76 ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr
/lib
/sasl2
77 ${CP} ${WRKINST}/usr
/lib
/libsasl2.so
* ${IDIR_LIBSASL2}/usr
/lib
78 ${CP} ${WRKINST}/usr
/lib
/sasl2
/lib
*.so
* \
79 ${IDIR_LIBSASL2}/usr
/lib
/sasl2
81 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk