1 include $(TOPDIR
)/rules.mk
6 PKG_MAINTAINER
:=Matteo Cicuttin
<datafl4sh@toxicnet.eu
>
7 PKG_CPE_ID
:=cpe
:/a
:gnuplot_project
:gnuplot
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/gnuplot-
$(PKG_VERSION
)
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_SOURCE_URL
:=@SF
/gnuplot
12 PKG_HASH
:=635a28f0993f6ab0d1179e072ad39b8139d07f51237f841d93c6c2ff4b1758ec
16 include $(INCLUDE_DIR
)/package.mk
18 define Package
/gnuplot
21 DEPENDS
:=+zlib
+libgd
+libncursesw
+libreadline
22 TITLE
:=A portable command-line driven graphing utility
23 URL
:=http
://www.gnuplot.
info/
33 CONFIGURE_VARS
+= ac_cv_have_x
="have_x=no"
35 # Since Qt is disabled there is no C++ code, so CXX is forced
36 # to CC in order to avoid dependency on libstdcpp. This is
37 # horrible, but 'DEPENDS:=+libstdcpp' does not work for some
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
41 CXX
="$(TARGET_CC_NOCACHE)"
44 define Package
/gnuplot
/install
45 $(INSTALL_DIR
) $(1)/usr
/bin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/gnuplot
$(1)/usr
/bin
49 $(eval
$(call BuildPackage
,gnuplot
))