[packages] transmission: update to 2.12, remove obsolete options
[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
15 TARGET_CFLAGS += \
16 -I$(STAGING_DIR)/usr/lib/libintl/include \
17 -I$(STAGING_DIR)/usr/lib/libiconv/include
18
19 TARGET_LDFLAGS+= \
20 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
21 -L$(STAGING_DIR)/usr/lib/libintl/lib \
22 -L$(STAGING_DIR)/usr/lib/libiconv/lib
23
24 CONFIGURE_VARS += \
25 CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
26 CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
27 LIBS="-nodefaultlibs -luClibc++ -lpthread -lgcc"
28
29 define Package/gnuplot
30 SECTION:=utils
31 CATEGORY:=Utilities
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/
35 endef
36
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.
40 endef
41
42 CONFIGURE_ARGS += \
43 --without-x \
44 --disable-mouse \
45 --without-tutorial \
46 --without-row-help \
47 --without-lisp-files
48
49 define Package/gnuplot/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnuplot $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,gnuplot))