1 include $(TOPDIR
)/rules.mk
6 PKG_MAINTAINER
:=Matteo Cicuttin
<datafl4sh@toxicnet.eu
>
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/gnuplot-
$(PKG_VERSION
)
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
10 PKG_SOURCE_URL
:=@SF
/gnuplot
11 PKG_HASH
:=eb4082f03a399fd1e9e2b380cf7a4f785e77023d8dcc7e17570c1b5570a49c47
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/gnuplot
20 DEPENDS
:=+zlib
+libgd
+libncursesw
+libreadline
21 TITLE
:=A portable command-line driven graphing utility
22 URL
:=http
://www.gnuplot.
info/
32 # Since Qt is disabled there is no C++ code, so CXX is forced
33 # to CC in order to avoid dependency on libstdcpp. This is
34 # horrible, but 'DEPENDS:=+libstdcpp' does not work for some
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 CXX
="$(TARGET_CC_NOCACHE)"
41 define Package
/gnuplot
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/gnuplot
$(1)/usr
/bin
46 $(eval
$(call BuildPackage
,gnuplot
))