2014-01-19 22:03:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libnfs
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-19 15:33:57 +02:00
|
|
|
LIBNFS_VERSION = libnfs-1.9.8
|
2014-01-19 22:03:59 +01:00
|
|
|
LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION))
|
|
|
|
LIBNFS_INSTALL_STAGING = YES
|
|
|
|
LIBNFS_AUTORECONF = YES
|
|
|
|
LIBNFS_MAKE = $(MAKE1)
|
|
|
|
LIBNFS_LICENSE = LGPLv2.1+
|
|
|
|
LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt
|
|
|
|
LIBNFS_DEPENDENCIES = host-pkgconf
|
|
|
|
|
2015-10-03 21:50:27 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
|
|
LIBNFS_DEPENDENCIES += libtirpc
|
|
|
|
endif
|
|
|
|
|
2015-10-19 15:33:57 +02:00
|
|
|
# Needed for autoreconf
|
|
|
|
define LIBNFS_MAKE_M4_DIR
|
|
|
|
mkdir $(@D)/m4
|
|
|
|
endef
|
|
|
|
LIBNFS_POST_EXTRACT_HOOKS += LIBNFS_MAKE_M4_DIR
|
|
|
|
|
2014-01-19 22:03:59 +01:00
|
|
|
$(eval $(autotools-package))
|