2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-11-04 08:34:10 +01:00
|
|
|
#
|
|
|
|
# libtirpc
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-11-04 08:34:10 +01:00
|
|
|
|
2018-06-09 21:55:22 +02:00
|
|
|
LIBTIRPC_VERSION = 1.0.3
|
2012-11-04 08:34:10 +01:00
|
|
|
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2
|
|
|
|
LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION)
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBTIRPC_LICENSE = BSD-3-Clause
|
2012-11-04 08:34:10 +01:00
|
|
|
LIBTIRPC_LICENSE_FILES = COPYING
|
|
|
|
|
2018-05-23 19:44:50 +02:00
|
|
|
LIBTIRPC_DEPENDENCIES = host-nfs-utils
|
2012-11-04 08:34:10 +01:00
|
|
|
LIBTIRPC_INSTALL_STAGING = YES
|
|
|
|
LIBTIRPC_AUTORECONF = YES
|
|
|
|
|
2012-11-06 08:18:59 +01:00
|
|
|
# getrpcby{number,name} are only provided if 'GQ' is defined
|
|
|
|
LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBTIRPC_CONF_OPTS = --disable-gssapi
|
2014-06-30 13:56:08 +02:00
|
|
|
|
2018-05-23 19:44:45 +02:00
|
|
|
define HOST_LIBTIRPC_INSTALL_CMDS
|
|
|
|
$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h
|
|
|
|
$(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h
|
|
|
|
endef
|
|
|
|
|
2012-11-04 08:34:10 +01:00
|
|
|
$(eval $(autotools-package))
|
2018-05-23 19:44:45 +02:00
|
|
|
# We are only copying headers; no need for the autotools infrastructure
|
|
|
|
$(eval $(host-generic-package))
|