summaryrefslogtreecommitdiff
path: root/packages/gnuplot/gnuplot.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-11-16 13:04:18 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-11-16 13:04:18 +0000
commite78c37089a29ab51dc57927c7f0beeee5b5b9b9b (patch)
tree6ebdc5b0277a7cb61a2c917b990ed88e89a3efbb /packages/gnuplot/gnuplot.inc
parenta0d61640b5cc121fc7ab3d1bacf10e6d1829dbb1 (diff)
parent48a8481494367ac4dfd7debfd4ca28913a077865 (diff)
merge of '9bdc778b4db6a77bfd983ea418ef07f57f411bcd'
and 'f04ba9d8f1f4caa6f8c95f3fec8cd70c6cde452c'
Diffstat (limited to 'packages/gnuplot/gnuplot.inc')
-rw-r--r--packages/gnuplot/gnuplot.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/gnuplot/gnuplot.inc b/packages/gnuplot/gnuplot.inc
new file mode 100644
index 0000000000..9f1eebf003
--- /dev/null
+++ b/packages/gnuplot/gnuplot.inc
@@ -0,0 +1,37 @@
+DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \
+(text or binary) and function plotting utility."
+HOMEPAGE = "http://www.gnuplot.info/"
+SECTION = "console/scientific"
+LICENSE = "BSD-4"
+PRIORITY = "optional"
+DEPENDS = "pango cairo virtual/libx11 libpng gd readline"
+
+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_compile_prepend() {
+ install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
+}
+
+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/
+}
+
+PACKAGES =+ "${PN}-x11-dbg ${PN}-x11"
+DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot."
+SECTION_${PN}-x11 = "x11/scientific"
+FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
+
+FILES_${PN} += "${datadir}/texmf"
+FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug"