2298de6853
Patch is included upstream. See here for Changes in 5.45: https://mailman.astron.com/pipermail/file/2023-July/001205.html See here for Changes in 5.44: https://mailman.astron.com/pipermail/file/2022-December/001042.html The hash of src/vasprintf.c, which is used as one of the license files, has been updated due to source code changes that do not affect the licensing terms. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# file
|
|
#
|
|
################################################################################
|
|
|
|
FILE_VERSION = 5.45
|
|
FILE_SITE = ftp://ftp.astron.com/pub/file
|
|
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
|
|
FILE_CPE_ID_VENDOR = file_project
|
|
|
|
FILE_AUTORECONF = YES
|
|
|
|
FILE_DEPENDENCIES = host-file
|
|
FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
FILE_INSTALL_STAGING = YES
|
|
|
|
HOST_FILE_DEPENDENCIES = host-zlib
|
|
HOST_FILE_CONF_OPTS = --disable-libseccomp
|
|
HOST_FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
FILE_CONF_OPTS += --enable-bzlib
|
|
FILE_DEPENDENCIES += bzip2
|
|
else
|
|
FILE_CONF_OPTS += --disable-bzlib
|
|
endif
|
|
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
FILE_CONF_OPTS += --enable-zlib
|
|
FILE_DEPENDENCIES += zlib
|
|
else
|
|
FILE_CONF_OPTS += --disable-zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|