package/octave: add optional bzip2 support

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit c1723c0dfd)
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 2a1f89db05
commit 626c967c5f

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 \