7e70be6d29
xz is an optional dependency since version 5.38 and
b259a07ea9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
911 B
Makefile
33 lines
911 B
Makefile
################################################################################
|
|
#
|
|
# file
|
|
#
|
|
################################################################################
|
|
|
|
FILE_VERSION = 5.38
|
|
FILE_SITE = ftp://ftp.astron.com/pub/file
|
|
FILE_DEPENDENCIES = host-file zlib
|
|
HOST_FILE_DEPENDENCIES = host-zlib
|
|
FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
FILE_INSTALL_STAGING = YES
|
|
FILE_LICENSE = BSD-2-Clause, BSD-4-Clause (one file), BSD-3-Clause (one file)
|
|
FILE_LICENSE_FILES = COPYING src/mygetopt.h src/vasprintf.c
|
|
HOST_FILE_CONF_OPTS = --disable-libseccomp
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
FILE_CONF_OPTS += --enable-libseccomp
|
|
FILE_DEPENDENCIES += libseccomp
|
|
else
|
|
FILE_CONF_OPTS += --disable-libseccomp
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XZ),y)
|
|
FILE_CONF_OPTS += --enable-xzlib
|
|
FILE_DEPENDENCIES += xz
|
|
else
|
|
FILE_CONF_OPTS += --disable-xzlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|