626c967c5f
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>
46 lines
983 B
Makefile
46 lines
983 B
Makefile
################################################################################
|
|
#
|
|
# octave
|
|
#
|
|
################################################################################
|
|
|
|
OCTAVE_VERSION = 8.4.0
|
|
OCTAVE_SITE = https://ftp.gnu.org/gnu/octave
|
|
OCTAVE_SOURCE = octave-$(OCTAVE_VERSION).tar.lz
|
|
OCTAVE_LICENSE = GPL-3.0+
|
|
OCTAVE_LICENSE_FILES = COPYING
|
|
OCTAVE_AUTORECONF = YES
|
|
|
|
OCTAVE_CONF_OPTS = --disable-java
|
|
|
|
OCTAVE_DEPENDENCIES = \
|
|
host-gperf \
|
|
host-pkgconf \
|
|
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 \
|
|
--with-libreadline-prefix=$(STAGING_DIR)/usr
|
|
OCTAVE_DEPENDENCIES += readline
|
|
else
|
|
OCTAVE_CONF_OPTS += --disable-readline
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
OCTAVE_CONF_OPTS += --with-z
|
|
OCTAVE_DEPENDENCIES += zlib
|
|
else
|
|
OCTAVE_CONF_OPTS += --without-z
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|