Serenity Operating System
1#!/usr/bin/env -S bash ../.port_include.sh
2port=gnuplot
3version=5.2.8
4useconfigure=true
5# Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier.
6files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz b55f591e2ad9d01ffca821f2f91ce781b481bb5dd602ce5188bfad3140f44ac0"
7auth_type=sha256
8configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-readline=builtin" "--without-latex")
9
10pre_configure() {
11 run ./prepare
12}
13
14install() {
15 run make install-strip
16}