gnuplot.inc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. inherit autotools
  9. acpaths = ""
  10. PACKAGECONFIG ??= "cairo"
  11. PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
  12. PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua"
  13. EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \
  14. --without-lisp-files \
  15. --without-tutorial \
  16. --disable-wxwidgets"
  17. do_compile_prepend() {
  18. install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
  19. }
  20. do_install_append() {
  21. install -d ${D}${datadir}/applications/
  22. install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/
  23. install -d ${D}${datadir}/pixmaps/
  24. install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
  25. }
  26. PACKAGES =+ "${PN}-x11-dbg ${PN}-x11"
  27. DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot."
  28. SECTION_${PN}-x11 = "x11/scientific"
  29. FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 "
  30. FILES_${PN} += "${datadir}/texmf"
  31. FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug"