diff options
Diffstat (limited to 'meta-oe/recipes-extended/gnuplot/gnuplot.inc')
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot.inc | 39 |
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 @@ | |||
1 | DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \ | ||
2 | (text or binary) and function plotting utility." | ||
3 | HOMEPAGE = "http://www.gnuplot.info/" | ||
4 | SECTION = "console/scientific" | ||
5 | LICENSE = "gnuplot" | ||
6 | LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" | ||
7 | DEPENDS = "virtual/libx11 gd readline" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | acpaths = "" | ||
12 | |||
13 | PACKAGECONFIG ??= "cairo" | ||
14 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" | ||
15 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" | ||
16 | |||
17 | EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ | ||
18 | --without-lisp-files \ | ||
19 | --without-tutorial \ | ||
20 | --disable-wxwidgets" | ||
21 | |||
22 | do_compile_prepend() { | ||
23 | install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/ | ||
24 | } | ||
25 | |||
26 | do_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 | |||
33 | PACKAGES =+ "${PN}-x11-dbg ${PN}-x11" | ||
34 | DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot." | ||
35 | SECTION_${PN}-x11 = "x11/scientific" | ||
36 | FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 " | ||
37 | |||
38 | FILES_${PN} += "${datadir}/texmf" | ||
39 | FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug" | ||