imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / cyrus-sasl / Makefile
blobfa6503bd2f73be2294accb7939dc3490e567753f
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
6 PKG_NAME:= cyrus-sasl
7 PKG_VERSION:= 2.1.26
8 PKG_RELEASE:= 2
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
17 PKG_OPTS:= dev
19 PKG_NOPARALLEL:= 1
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 \
28 --enable-login \
29 --disable-anon \
30 --disable-cram \
31 --disable-digest \
32 --disable-scram \
33 --with-ipctype=unix \
34 --with-devrandom="/dev/urandom" \
35 --with-openssl="${STAGING_TARGET_DIR}/usr" \
36 --disable-sample \
37 --disable-java \
38 --disable-alwaystrue \
39 --disable-checkapop \
40 --disable-otp \
41 --disable-srp \
42 --disable-srp-setpass \
43 --disable-krb4 \
44 --disable-gssapi \
45 --disable-gss_mutexes \
46 --disable-ntlm \
47 --disable-sql \
48 --disable-static \
49 --without-dblib \
50 --without-gdbm \
51 --without-pam \
52 --without-saslauthd \
53 --without-authdaemond \
54 --without-pwcheck \
55 --without-des \
56 --without-opie \
57 --without-ldap \
58 --without-mysql \
59 --without-pgsql \
60 --without-sqlite \
61 --without-rc4 \
62 --without-dmalloc \
63 --without-sfio
65 pre-build:
66 ${MAKE} -C ${WRKBUILD}/include \
67 CC="${CC_FOR_BUILD}" \
68 LINK="${CC_FOR_BUILD} -o makemd5 -lc" \
69 LIBS="" \
70 CFLAGS="${CFLAGS_FOR_BUILD}" \
71 LDFLAGS="" \
72 CPPFLAGS="" \
73 makemd5
75 libsasl2-install:
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