serenity/Ports/gnuplot/package.sh

29 lines
694 B
Bash
Raw Normal View History

2021-01-23 05:44:05 +13:00
#!/usr/bin/env -S bash ../.port_include.sh
port='gnuplot'
version='5.4.8'
useconfigure='true'
# Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier.
2023-07-10 13:10:29 +02:00
files=(
"https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz#2b0c1841640b2e33f8421ac83cd91d972d8b0c6acf9753f16385d5eec8a61a73"
2023-07-10 13:10:29 +02:00
)
depends=(
'libgd'
'lua'
)
configopts=(
"--prefix=${SERENITY_INSTALL_ROOT}/usr/local"
'--with-qt=no'
'--with-readline=builtin'
'--without-cairo'
'--without-latex'
'libgd_LIBS=-liconv -lfreetype -lfontconfig -lpng'
)
pre_configure() {
run ./prepare
}
install() {
run make install-strip
}