ddd9e723c3
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 lines
939 B
Makefile
30 lines
939 B
Makefile
################################################################################
|
|
#
|
|
# libtirpc
|
|
#
|
|
################################################################################
|
|
|
|
LIBTIRPC_VERSION = 1.3.2
|
|
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2
|
|
LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION)
|
|
LIBTIRPC_LICENSE = BSD-3-Clause
|
|
LIBTIRPC_LICENSE_FILES = COPYING
|
|
LIBTIRPC_CPE_ID_VENDOR = libtirpc_project
|
|
|
|
LIBTIRPC_INSTALL_STAGING = YES
|
|
|
|
# getrpcby{number,name} are only provided if 'GQ' is defined
|
|
LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC_GSS),y)
|
|
LIBTIRPC_CONF_ENV += KRB5_CONFIG=$(STAGING_DIR)/usr/bin/krb5-config
|
|
LIBTIRPC_CONF_OPTS += --enable-gssapi
|
|
LIBTIRPC_DEPENDENCIES += libkrb5
|
|
else
|
|
LIBTIRPC_CONF_OPTS += --disable-gssapi
|
|
endif
|
|
HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|