2012-01-14 02:01:04 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010-2012 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2010-09-11 18:38:36 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gnuplot
|
2012-05-20 19:46:56 +00:00
|
|
|
PKG_VERSION:=4.6.0
|
2012-08-04 17:02:06 +00:00
|
|
|
PKG_RELEASE:=2
|
2010-09-11 18:38:36 +00:00
|
|
|
|
2012-01-14 02:01:04 +00:00
|
|
|
PKG_INSTALL:=1
|
2010-09-11 18:38:36 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/gnuplot
|
2012-05-20 19:46:56 +00:00
|
|
|
PKG_MD5SUM:=8e6e92b4596ea0eb75e16a57fc79efec
|
2010-09-11 18:38:36 +00:00
|
|
|
|
2012-08-04 17:02:06 +00:00
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
2010-09-11 18:38:36 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-11-01 10:15:00 +00:00
|
|
|
|
|
|
|
TARGET_LDFLAGS+= \
|
2011-02-02 18:54:24 +00:00
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
2010-09-11 18:38:36 +00:00
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
2012-08-04 17:02:06 +00:00
|
|
|
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
|
|
|
|
LIBS="-lpthread"
|
2010-09-11 18:38:36 +00:00
|
|
|
|
|
|
|
define Package/gnuplot
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2012-08-04 17:02:06 +00:00
|
|
|
DEPENDS:=+libncurses $(CXX_DEPENDS) +zlib +libpng +libfreetype +libgd \
|
2012-01-14 02:01:04 +00:00
|
|
|
$(INTL_DEPENDS) $(ICONV_DEPENDS) +libpthread +libreadline
|
2010-09-11 18:38:36 +00:00
|
|
|
TITLE:=A portable command-line driven graphing utility
|
|
|
|
URL:=http://sourceforge.net/projects/gnuplot/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gnuplot/description
|
2012-01-14 02:01:04 +00:00
|
|
|
Gnuplot is a portable command-line driven graphing utility for linux, OS/2,
|
2010-09-11 18:38:36 +00:00
|
|
|
MS Windows, OSX, VMS, and many other platforms.
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--without-x \
|
|
|
|
--disable-mouse \
|
|
|
|
--without-tutorial \
|
|
|
|
--without-row-help \
|
2011-06-03 13:13:21 +00:00
|
|
|
--without-lisp-files \
|
2012-01-14 02:01:04 +00:00
|
|
|
--disable-wxwidgets \
|
2012-05-20 19:46:56 +00:00
|
|
|
--without-lua \
|
|
|
|
--without-cairo
|
2010-09-11 18:38:36 +00:00
|
|
|
|
|
|
|
define Package/gnuplot/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnuplot $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gnuplot))
|