972f15ccb0f6a430112a2eb6124125466f81fcf6
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / heimdal / heimdal.mk
1 ################################################################################
2 #
3 # heimdal
4 #
5 ################################################################################
6
7 HEIMDAL_VERSION = 1.5.3
8 HEIMDAL_SITE = http://www.h5l.org/dist/src
9 HEIMDAL_DEPENDENCIES = host-e2fsprogs host-pkgconf
10 HEIMDAL_INSTALL_STAGING = YES
11 # static because of -fPIC issues with e2fsprogs on x86_64 host
12 HOST_HEIMDAL_CONF_OPTS = --with-x=no --disable-shared --enable-static
13 HOST_HEIMDAL_CONF_ENV = MAKEINFO=true
14 HEIMDAL_MAKE = $(MAKE1)
15 # For heimdal-0004-compile_et.patch
16 HEIMDAL_AUTORECONF = YES
17 HEIMDAL_LICENSE = BSD-3c
18 HEIMDAL_LICENSE_FILES = LICENSE
19
20 # We need asn1_compile in the PATH for samba4
21 define HOST_HEIMDAL_MAKE_SYMLINK
22         ln -sf $(HOST_DIR)/usr/libexec/heimdal/asn1_compile \
23                 $(HOST_DIR)/usr/bin/asn1_compile
24         ln -sf $(HOST_DIR)/usr/bin/compile_et \
25                 $(HOST_DIR)/usr/libexec/heimdal/compile_et
26 endef
27
28 HOST_HEIMDAL_POST_INSTALL_HOOKS += HOST_HEIMDAL_MAKE_SYMLINK
29
30 $(eval $(host-autotools-package))