summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/gnuplot/gnuplot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/gnuplot/gnuplot.inc')
-rw-r--r--meta-oe/recipes-extended/gnuplot/gnuplot.inc39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot.inc b/meta-oe/recipes-extended/gnuplot/gnuplot.inc
new file mode 100644
index 000000000..6c27e6d8a
--- /dev/null
+++ b/meta-oe/recipes-extended/gnuplot/gnuplot.inc
@@ -0,0 +1,39 @@
1DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \
2(text or binary) and function plotting utility."
3HOMEPAGE = "http://www.gnuplot.info/"
4SECTION = "console/scientific"
5LICENSE = "gnuplot"
6LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
7DEPENDS = "virtual/libx11 gd readline"
8
9inherit autotools
10
11acpaths = ""
12
13PACKAGECONFIG ??= "cairo"
14PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
15PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua"
16
17EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \
18 --without-lisp-files \
19 --without-tutorial \
20 --disable-wxwidgets"
21
22do_compile_prepend() {
23 install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
24}
25
26do_install_append() {
27 install -d ${D}${datadir}/applications/
28 install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/
29 install -d ${D}${datadir}/pixmaps/
30 install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
31}
32
33PACKAGES =+ "${PN}-x11-dbg ${PN}-x11"
34DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot."
35SECTION_${PN}-x11 = "x11/scientific"
36FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
37
38FILES_${PN} += "${datadir}/texmf"
39FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug"