kumquat-buildroot/package/heimdal/heimdal.mk

44 lines
1.2 KiB
Makefile
Raw Normal View History

################################################################################
#
# heimdal
#
################################################################################
HEIMDAL_VERSION = 1.6rc2
HEIMDAL_SITE = http://www.h5l.org/dist/src
HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf
HEIMDAL_INSTALL_STAGING = YES
# static because of -fPIC issues with e2fsprogs on x86_64 host
HOST_HEIMDAL_CONF_OPTS = \
--disable-shared \
--enable-static \
--without-openldap \
--without-capng \
--without-sqlite3 \
--without-libintl \
--without-openssl \
--without-berkeley-db \
--without-readline \
--without-libedit \
--without-hesiod \
--without-x \
--disable-heimdal-documentation
HOST_HEIMDAL_CONF_ENV = MAKEINFO=true
HEIMDAL_MAKE = $(MAKE1)
HEIMDAL_LICENSE = BSD-3c
HEIMDAL_LICENSE_FILES = LICENSE
# 0002-kadm5-fix-race-in-Makefile-with-kadm5_err.h.patch
HEIMDAL_AUTORECONF = YES
# We need asn1_compile in the PATH for samba4
define HOST_HEIMDAL_MAKE_SYMLINK
ln -sf $(HOST_DIR)/usr/libexec/heimdal/asn1_compile \
$(HOST_DIR)/usr/bin/asn1_compile
ln -sf $(HOST_DIR)/usr/bin/compile_et \
$(HOST_DIR)/usr/libexec/heimdal/compile_et
endef
HOST_HEIMDAL_POST_INSTALL_HOOKS += HOST_HEIMDAL_MAKE_SYMLINK
$(eval $(host-autotools-package))