summaryrefslogtreecommitdiff
path: root/packages/gnuplot/gnuplot_4.2.0.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-23 11:27:38 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-23 11:27:38 +0000
commitd9eb64a436c4ddfe30ba5454d1becd765c3cb7d5 (patch)
treedb18b26b866d7c243f68c9172ef227a2183c12e0 /packages/gnuplot/gnuplot_4.2.0.bb
parent0c25fa3e7098c3847f4fc3eb042b94d0e142b9b3 (diff)
parentf2a42025ad4e81842fb8470b0eee1a67abfd3098 (diff)
merge of '3fc90cd6e5ca8fdb9040cd52f97c35c106987f7b'
and 'dc3cf7cacd8aa259dc0e068dd6a8035ad9817f47'
Diffstat (limited to 'packages/gnuplot/gnuplot_4.2.0.bb')
-rw-r--r--packages/gnuplot/gnuplot_4.2.0.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/gnuplot/gnuplot_4.2.0.bb b/packages/gnuplot/gnuplot_4.2.0.bb
new file mode 100644
index 0000000000..c6f51c4f15
--- /dev/null
+++ b/packages/gnuplot/gnuplot_4.2.0.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \
+(text or binary) and function plotting utility."
+SECTION = "console/scientific"
+LICENSE = "BSD-4"
+PRIORITY = "optional"
+DEPENDS = "pango cairo virtual/libx11 libpng gd readline"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gnuplot/${PN}-${PV}.tar.gz \
+ file://subdirs.patch;patch=1 \
+ file://matrix.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/
+}
+
+
+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"
+
+