[packages] gnuplot: explicitely disable wxwidgets (#9478)
[openwrt/svn-archive/archive.git] / utils / gnuplot / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=gnuplot
4 PKG_VERSION:=4.4.0
5 PKG_RELEASE:=2
6
7 PKG_INSTALL=1
8
9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
10 PKG_SOURCE_URL:=@SF/gnuplot
11 PKG_MD5SUM:=e708665bd512153ad5c35252fe499059
12
13 include $(INCLUDE_DIR)/package.mk
14 include $(INCLUDE_DIR)/nls.mk
15
16 TARGET_LDFLAGS+= \
17 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
18
19 CONFIGURE_VARS += \
20 CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
21 CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
22 LIBS="-nodefaultlibs -luClibc++ -lpthread $(LIBGCC_S)"
23
24 define Package/gnuplot
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd $(INTL_DEPENDS) $(ICONV_DEPENDS)
28 TITLE:=A portable command-line driven graphing utility
29 URL:=http://sourceforge.net/projects/gnuplot/
30 endef
31
32 define Package/gnuplot/description
33 Gnuplot is a portable command-line driven graphing utility for linux, OS/2,
34 MS Windows, OSX, VMS, and many other platforms.
35 endef
36
37 CONFIGURE_ARGS += \
38 --without-x \
39 --disable-mouse \
40 --without-tutorial \
41 --without-row-help \
42 --without-lisp-files \
43 --disable-wxwidgets
44
45 define Package/gnuplot/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnuplot $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,gnuplot))