package/octave: add optional bzip2 support

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Julien Olivain 2024-05-22 22:13:26 +02:00 committed by Peter Korsgaard
parent e5dff2797c
commit c1723c0dfd

View File

@ -19,6 +19,13 @@ OCTAVE_DEPENDENCIES = \
openblas \
pcre2
ifeq ($(BR2_PACKAGE_BZIP2),y)
OCTAVE_CONF_OPTS += --with-bz2
OCTAVE_DEPENDENCIES += bzip2
else
OCTAVE_CONF_OPTS += --without-bz2
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
OCTAVE_CONF_OPTS += \
--enable-readline \