2 # Copyright (C) 2010-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@SF
/gnuplot
18 PKG_MD5SUM
:=97a43328e81e57ebed7f135ca0c07e82
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/nls.mk
24 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
27 CPPFLAGS
="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
28 CXXFLAGS
="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
29 LIBS
="-nodefaultlibs -luClibc++ -lpthread $(LIBGCC_S)"
31 define Package
/gnuplot
34 DEPENDS
:=+libncurses
+uclibcxx
+zlib
+libpng
+libfreetype
+libgd \
35 $(INTL_DEPENDS
) $(ICONV_DEPENDS
) +libpthread
+libreadline
36 TITLE
:=A portable command-line driven graphing utility
37 URL
:=http
://sourceforge.net
/projects
/gnuplot
/
40 define Package
/gnuplot
/description
41 Gnuplot is a portable command-line driven graphing utility for linux
, OS
/2,
42 MS Windows
, OSX
, VMS
, and many other platforms.
50 --without-lisp-files \
54 define Package
/gnuplot
/install
55 $(INSTALL_DIR
) $(1)/usr
/bin
56 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/gnuplot
$(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,gnuplot
))