2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-24 09:19:25 +01:00
|
|
|
#
|
|
|
|
# gnuplot
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-24 09:19:25 +01:00
|
|
|
|
2014-09-23 16:41:34 +02:00
|
|
|
GNUPLOT_VERSION = 4.6.6
|
2013-03-24 09:19:25 +01:00
|
|
|
GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)
|
|
|
|
GNUPLOT_LICENSE = gnuplot license (open source)
|
|
|
|
GNUPLOT_LICENSE_FILES = Copyright
|
|
|
|
|
|
|
|
GNUPLOT_AUTORECONF = YES
|
|
|
|
|
2014-12-24 08:54:24 +01:00
|
|
|
GNUPLOT_CONF_OPTS = \
|
|
|
|
--without-x \
|
|
|
|
--disable-raise-console \
|
|
|
|
--disable-mouse \
|
|
|
|
--without-tutorial \
|
|
|
|
--disable-demo \
|
|
|
|
--without-row-help \
|
|
|
|
--disable-history-file \
|
|
|
|
--without-lisp-files \
|
|
|
|
--disable-wxwidgets \
|
|
|
|
--without-lua \
|
|
|
|
--without-latex \
|
|
|
|
--without-cairo
|
2013-03-24 09:19:25 +01:00
|
|
|
|
2016-08-08 06:47:04 +02:00
|
|
|
# relocation truncated to fit: R_68K_GOT16O
|
|
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
|
|
GNUPLOT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot"
|
|
|
|
endif
|
|
|
|
|
2013-04-03 03:04:23 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
|
2014-09-27 21:32:44 +02:00
|
|
|
GNUPLOT_CONF_OPTS += --with-gd
|
2013-03-24 09:19:25 +01:00
|
|
|
GNUPLOT_DEPENDENCIES += gd
|
|
|
|
GNUPLOT_CONF_ENV += \
|
|
|
|
ac_cv_path_GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GNUPLOT_CONF_OPTS += --without-gd
|
2013-03-24 09:19:25 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
GNUPLOT_CONF_OPTS += --with-readline=gnu
|
2013-03-24 09:19:25 +01:00
|
|
|
GNUPLOT_DEPENDENCIES += readline
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GNUPLOT_CONF_OPTS += --without-readline
|
2013-03-24 09:19:25 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Remove Javascript scripts, lua scripts, PostScript files
|
|
|
|
define GNUPLOT_REMOVE_UNNEEDED_FILES
|
|
|
|
$(RM) -rf $(TARGET_DIR)/usr/share/gnuplot
|
|
|
|
endef
|
|
|
|
|
|
|
|
GNUPLOT_POST_INSTALL_TARGET_HOOKS += GNUPLOT_REMOVE_UNNEEDED_FILES
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|