1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= cyrus-sasl
- PKG_VERSION:= 2.1.26
- PKG_RELEASE:= 2
- PKG_MD5SUM:= a7f4e5e559a0e37b3ffc438c9456e425
- PKG_DESCR:= a general purpose authentication library
- PKG_SECTION:= libs
- PKG_BUILDDEP:= openssl
- PKG_DEPENDS:= libopenssl
- PKG_URL:= http://cyrusimap.org/
- PKG_SITES:= ftp://ftp.cyrusimap.org/cyrus-sasl/
- PKG_NOPARALLEL:= 1
- PKG_LIBNAME:= libsasl2
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- CONFIGURE_ARGS+= --enable-plain \
- --enable-login \
- --disable-anon \
- --disable-cram \
- --disable-digest \
- --disable-scram \
- --with-ipctype=unix \
- --with-devrandom="/dev/urandom" \
- --with-openssl="${STAGING_TARGET_DIR}/usr" \
- --disable-sample \
- --disable-java \
- --disable-alwaystrue \
- --disable-checkapop \
- --disable-otp \
- --disable-srp \
- --disable-srp-setpass \
- --disable-krb4 \
- --disable-gssapi \
- --disable-gss_mutexes \
- --disable-ntlm \
- --disable-sql \
- --disable-static \
- --without-dblib \
- --without-gdbm \
- --without-pam \
- --without-saslauthd \
- --without-authdaemond \
- --without-pwcheck \
- --without-des \
- --without-opie \
- --without-ldap \
- --without-mysql \
- --without-pgsql \
- --without-sqlite \
- --without-rc4 \
- --without-dmalloc \
- --without-sfio
- pre-build:
- ${MAKE} -C ${WRKBUILD}/include \
- CC="${CC_FOR_BUILD}" \
- LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
- LIBS="" \
- CFLAGS="${CFLAGS_FOR_BUILD}" \
- LDFLAGS="" \
- CPPFLAGS="" \
- makemd5
- libsasl2-install:
- ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
- ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib
- ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
- ${IDIR_LIBSASL2}/usr/lib/sasl2
- include ${TOPDIR}/mk/pkg-bottom.mk
|