1 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
10 PKG_SOURCE_URL
:=@SF
/gnuplot
11 PKG_MD5SUM
:=e708665bd512153ad5c35252fe499059
13 include $(INCLUDE_DIR
)/package.mk
16 -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include \
17 -I
$(STAGING_DIR
)/usr
/lib
/libiconv
/include
20 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
21 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib \
22 -L
$(STAGING_DIR
)/usr
/lib
/libiconv
/lib
25 CPPFLAGS
="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
26 CXXFLAGS
="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
27 LIBS
="-nodefaultlibs -luClibc++ -lpthread -lgcc"
29 define Package
/gnuplot
32 DEPENDS
:=+libncurses
+uclibcxx
+zlib
+libpng
+libfreetype
+libgd
+libintl
+libiconv
33 TITLE
:=A portable command-line driven graphing utility
34 URL
:=http
://sourceforge.net
/projects
/gnuplot
/
37 define Package
/gnuplot
/description
38 Gnuplot is a portable command-line driven graphing utility for linux
, OS
/2,
39 MS Windows
, OSX
, VMS
, and many other platforms.
49 define Package
/gnuplot
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/gnuplot
$(1)/usr
/bin
/
54 $(eval
$(call BuildPackage
,gnuplot
))