From patchwork Fri Jan 4 14:53:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Viallard X-Patchwork-Id: 209473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 93BBB2C007C for ; Sat, 5 Jan 2013 01:54:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8E86E30E97; Fri, 4 Jan 2013 14:54:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yXoAxRfKzDOY; Fri, 4 Jan 2013 14:53:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5D35230E90; Fri, 4 Jan 2013 14:53:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 31D4D8F753 for ; Fri, 4 Jan 2013 14:54:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C5A681447 for ; Fri, 4 Jan 2013 14:53:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MOfulUNETlDg for ; Fri, 4 Jan 2013 14:53:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by whitealder.osuosl.org (Postfix) with ESMTPS id BE62088AB3 for ; Fri, 4 Jan 2013 14:53:53 +0000 (UTC) Received: from avd-box.syscom.ch ([62.12.146.154]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id r04ErihE003475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jan 2013 15:53:50 +0100 From: Anthony Viallard To: buildroot@busybox.net Date: Fri, 4 Jan 2013 15:53:13 +0100 Message-Id: <1357311193-31887-1-git-send-email-viallard@syscom-instruments.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] gnuplot : new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Anthony Viallard Tested-by: Stephan Hoffmann --- package/Config.in | 1 + package/gnuplot/Config.in | 7 +++++++ package/gnuplot/gnuplot.mk | 13 +++++++++++++ package/gnuplot/gnuplot.patch | 26 ++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 0 deletion(-) create mode 100644 package/gnuplot/Config.in create mode 100644 package/gnuplot/gnuplot.mk create mode 100644 package/gnuplot/gnuplot.patch --- a/package/Config.in +++ b/package/Config.in @@ -70,6 +70,7 @@ endif source "toolchain/gcc/Config.in.2" source "package/gettext/Config.in" source "package/gmp/Config.in" +source "package/gnuplot/Config.in" source "package/gperf/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/grep/Config.in" diff --git a/package/gnuplot/Config.in b/package/gnuplot/Config.in new file mode 100644 index 0000000..281bb65 --- /dev/null +++ b/package/gnuplot/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_GNUPLOT + bool "gnuplot" + help + A portable command-line driven graphing utility. + + http://www.gnuplot.info/ + diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk new file mode 100644 index 0000000..2f05624 --- /dev/null +++ b/package/gnuplot/gnuplot.mk @@ -0,0 +1,24 @@ +############################################################# +# +# gnuplot +# +############################################################# +GNUPLOT_VERSION = 4.6.0 +GNUPLOT_SOURCE = gnuplot-$(GNUPLOT_VERSION).tar.gz +GNUPLOT_SITE = http://superb-dca2.dl.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION) +GNUPLOT_INSTALL_STAGING = YES +GNUPLOT_INSTALL_TARGET = YES +GNUPLOT_CONF_OPT = --without-x \ + --disable-raise-console \ + --disable-mouse \ + --without-tutorial \ + --without-demo --disable-demo \ + --without-row-help \ + --disable-history-file \ + --without-lisp-files \ + --disable-wxwidgets \ + --without-lua \ + --without-latex \ + --without-cairo + +$(eval $(autotools-package)) diff --git a/package/gnuplot/gnuplot.patch b/package/gnuplot/gnuplot.patch new file mode 100644 index 0000000..7053a46 --- /dev/null +++ b/package/gnuplot/gnuplot.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile.am b/Makefile.am +index bc0f2b2..5c00fe5 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,7 +1,7 @@ + ## Process this file with automake to produce Makefile.in -*-Makefile-*- + AUTOMAKE_OPTIONS = foreign 1.2h + +-SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share ++SUBDIRS = config m4 term src $(LISPDIR) man tutorial share + + EXTRA_DIST = BUGS CodeStyle Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \ + Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST \ +diff --git a/Makefile.in b/Makefile.in +index 71118bc..86df133 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -250,7 +250,7 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = foreign 1.2h +-SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share ++SUBDIRS = config m4 term src $(LISPDIR) man tutorial share + EXTRA_DIST = BUGS CodeStyle Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \ + Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST \ + VERSION configure.vms pm3d win