summaryrefslogtreecommitdiff
path: root/Ports/gnuplot/package.sh
blob: 706498a40c68714145886e04acd38d7f65f975ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/Build/Root/usr/local --with-readline=builtin"

pre_configure() {
    run ./prepare
}

install() {
    run make install-strip
}