3a8b7f75ac
- Remove patches (already in version) - Use new configure options to disable examples, test-tool and tests - Drop cunit optional dependency now that test-tool is always disabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
766 B
Makefile
24 lines
766 B
Makefile
################################################################################
|
|
#
|
|
# libiscsi
|
|
#
|
|
################################################################################
|
|
|
|
LIBISCSI_VERSION = 1.19.0
|
|
LIBISCSI_SITE = $(call github,sahlberg,libiscsi,$(LIBISCSI_VERSION))
|
|
LIBISCSI_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
|
|
LIBISCSI_INSTALL_STAGING = YES
|
|
LIBISCSI_AUTORECONF = YES
|
|
|
|
LIBISCSI_CONF_OPTS = --disable-examples --disable-werror --disable-manpages \
|
|
--disable-test-tool --disable-tests
|
|
|
|
# We need to create the m4 directory to make autoreconf work properly.
|
|
define LIBISCSI_CREATE_M4_DIR
|
|
mkdir -p $(@D)/m4
|
|
endef
|
|
LIBISCSI_POST_PATCH_HOOKS += LIBISCSI_CREATE_M4_DIR
|
|
|
|
$(eval $(autotools-package))
|