blob: 53390c29dd952783aaf88c8f72746944f7b75f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= heimdal
PKG_VERSION:= 7.7.0
PKG_RELEASE:= 1
PKG_HASH:= f02d3314d634cc55eb9cf04a1eae0d96b293e45a1f837de9d894e800161b7d1b
PKG_DESCR:= kerberos server
PKG_SECTION:= app/crypto
HOST_BUILDDEP:= ncurses-host
PKG_URL:= http://www.h5l.org/
PKG_SITES:= https://github.com/heimdal/heimdal/releases/download/heimdal-${PKG_VERSION}/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_CFLINE_HEIMDAL:= depends on ADK_HOST_ONLY
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,HEIMDAL,heimdal,$(PKG_VERSION)-${PKG_RELEASE}))
# patch changes configure.ac, have to recreate
AUTOTOOL_STYLE:= autoreconf
HOST_STYLE:= manual
ifeq ($(OS_FOR_BUILD),Darwin)
HOST_CFLAGS+= -DHAVE_STRLCPY -DHAVE_STRLCAT
endif
HOST_CONFIGURE_ARGS+= --disable-pk-init \
--without-openldap \
--without-x \
--disable-kcm \
--disable-kx509 \
--disable-ndbm-db \
--without-berkeley-db \
--disable-sqlite-cache \
--disable-heimdal-documentation \
--disable-otp
host-configure:
cd ${WRKBUILD}; \
env ${HOST_CONFIGURE_ENV} \
${BASH} ${WRKSRC}/${CONFIGURE_PROG} \
--program-prefix= \
--program-suffix= \
--prefix=/usr \
--bindir=/usr/bin \
--datadir=/usr/share \
--mandir=/usr/share/man \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-dependency-tracking \
--disable-libtool-lock \
--disable-nls \
${HOST_CONFIGURE_ARGS} $(MAKE_TRACE)
host-build:
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/include
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/lib/roken
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/lib/vers
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/lib/libedit
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/lib/com_err compile_et$(EXEEXT) LDFLAGS="-all-static"
PATH='$(HOST_PATH)' ${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile$(EXEEXT) LDFLAGS="-all-static"
host-install:
heimdal-hostinstall:
$(CP) $(WRKBUILD)/lib/com_err/compile_et \
$(STAGING_HOST_DIR)/usr/bin
$(CP) $(WRKBUILD)/lib/asn1/asn1_compile \
$(STAGING_HOST_DIR)/usr/bin
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|