1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:07:36 +00:00

Ports: Add gnuplot port

Obviously we don't support many of the common terminals as we're missing
X11, Qt, WxWidgets, Cairo etc. - but at least the "dumb" terminal
(ASCII output) and "canvas" terminal (generates JS to plot on a HTML
<canvas>) are confirmed to be working :^)
This commit is contained in:
Linus Groh 2020-04-15 14:23:25 +01:00 committed by Andreas Kling
parent 7feb48b1da
commit 4c0ec846a8
2 changed files with 29 additions and 0 deletions

15
Ports/gnuplot/package.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash ../.port_include.sh
port=gnuplot
version=5.2.8
useconfigure=true
# Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier.
files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz"
configopts="--prefix=$SERENITY_ROOT/Root/usr/local --with-readline=builtin"
pre_configure() {
run ./prepare
}
install() {
run make install-strip
}