Merge commit '709c4d66e0b107ca606941b988bad717c0b45d9b' into opendreambox
[vuplus_openembedded] / recipes / gnuplot / gnuplot.inc
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 = "BSD-4"
6 PRIORITY = "optional"
7 DEPENDS = "virtual/libx11 gd cairo readline"
8
9 inherit autotools
10
11 acpaths = ""
12
13 EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \
14                 --without-lisp-files \
15                 --without-tutorial \
16                 --disable-wxwidgets"
17
18 do_compile_prepend() {
19         install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
20 }
21
22 do_install_append() {
23         install -d ${D}${datadir}/applications/
24         install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/
25         install -d ${D}${datadir}/pixmaps/
26         install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
27 }
28
29 PACKAGES =+ "${PN}-x11-dbg ${PN}-x11"
30 DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot."
31 SECTION_${PN}-x11 = "x11/scientific"
32 FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
33
34 FILES_${PN} += "${datadir}/texmf"
35 FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug"