summaryrefslogtreecommitdiff
path: root/packages/gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gnuplot')
-rw-r--r--packages/gnuplot/files/gnuplot.pngbin0 -> 9383 bytes
-rw-r--r--packages/gnuplot/gnuplot_4.0.0.bb28
2 files changed, 28 insertions, 0 deletions
diff --git a/packages/gnuplot/files/gnuplot.png b/packages/gnuplot/files/gnuplot.png
index e69de29bb2..054cd9e7c7 100644
--- a/packages/gnuplot/files/gnuplot.png
+++ b/packages/gnuplot/files/gnuplot.png
Binary files differ
diff --git a/packages/gnuplot/gnuplot_4.0.0.bb b/packages/gnuplot/gnuplot_4.0.0.bb
index e69de29bb2..ca7194ff99 100644
--- a/packages/gnuplot/gnuplot_4.0.0.bb
+++ b/packages/gnuplot/gnuplot_4.0.0.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \
+(text or binary) and function plotting utility."
+SECTION = "x11/utils"
+PRIORITY = "optional"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "x11 libpng gd readline"
+PR = "r1"
+
+SRC_URI = "ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot-${PV}.tar.gz \
+ file://subdirs.patch;patch=1 \
+ file://gnuplot.desktop \
+ file://gnuplot.png"
+
+inherit autotools
+acpaths = ""
+EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \
+ --without-plot \
+ --with-png=${STAGING_LIBDIR}/.. \
+ --with-gd=${STAGING_LIBDIR}/.. \
+ --without-lisp-files \
+ --without-tutorial"
+
+do_install_append() {
+ install -d ${D}${datadir}/applications/
+ install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}/${datadir}/applications/
+ install -d ${D}${datadir}/pixmaps/
+ install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
+}