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
:= f02d3314d634cc55eb9cf04a1eae0d96b293e45a1f837de9d894e800161b7d1b
10 PKG_DESCR
:= kerberos server
11 PKG_SECTION
:= app
/crypto
12 HOST_BUILDDEP
:= ncurses-host
13 PKG_URL
:= http
://www.h5l.org
/
14 PKG_SITES
:= https
://github.com
/heimdal
/heimdal
/releases
/download
/heimdal-
${PKG_VERSION}/
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 PKG_CFLINE_HEIMDAL
:= depends on ADK_HOST_ONLY
20 include $(ADK_TOPDIR
)/mk
/host.mk
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call HOST_template
,HEIMDAL
,heimdal
,$(PKG_VERSION
)-${PKG_RELEASE}))
25 # patch changes configure.ac, have to recreate
26 AUTOTOOL_STYLE
:= autoreconf
30 ifeq ($(OS_FOR_BUILD
),Darwin
)
31 HOST_CFLAGS
+= -DHAVE_STRLCPY
-DHAVE_STRLCAT
34 HOST_CONFIGURE_ARGS
+= --disable-pk-init \
40 --without-berkeley-db \
41 --disable-sqlite-cache \
42 --disable-heimdal-documentation \
47 env
${HOST_CONFIGURE_ENV} \
48 ${BASH} ${WRKSRC}/${CONFIGURE_PROG} \
53 --datadir=/usr
/share \
54 --mandir=/usr
/share
/man \
56 --libexecdir
=/usr
/libexec \
57 --localstatedir
=/var \
59 --disable-dependency-tracking \
60 --disable-libtool-lock \
62 ${HOST_CONFIGURE_ARGS} $(MAKE_TRACE
)
65 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/include
66 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/lib
/roken
67 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/lib
/vers
68 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/lib
/libedit
69 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/lib
/com_err compile_et
$(EXEEXT
) LDFLAGS
="-all-static"
70 PATH
='$(HOST_PATH)' ${MAKE} -C
${WRKBUILD}/lib
/asn1 asn1_compile
$(EXEEXT
) LDFLAGS
="-all-static"
75 $(CP
) $(WRKBUILD
)/lib
/com_err
/compile_et \
76 $(STAGING_HOST_DIR
)/usr
/bin
77 $(CP
) $(WRKBUILD
)/lib
/asn1
/asn1_compile \
78 $(STAGING_HOST_DIR
)/usr
/bin
80 include ${ADK_TOPDIR}/mk
/host-bottom.mk
81 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk