pantry/projects/gnuplot.info/package.yml
Jacob Heider ea19959ac8
fix(gnuplot) (#3213)
* fix(gnuplot)

* needs lib ver 15
2023-09-04 18:35:40 -04:00

47 lines
1 KiB
YAML

distributable:
url: https://downloads.sourceforge.net/project/gnuplot/gnuplot/{{version}}/gnuplot-{{version}}.tar.gz
strip-components: 1
versions:
url: https://sourceforge.net/projects/gnuplot/files/gnuplot
match: /gnuplot\/\d+\.\d+\.\d+\//
strip:
- /gnuplot\//
- /\//
dependencies:
libgd.github.io: '*'
lua.org: '*'
gnome.org/pango: '*'
gnu.org/readline: '*'
linux:
github.com/AOMediaCodec/libavif: ^0.11
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnu.org/autoconf: '*'
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --disable-dependency-tracking
- --disable-silent-rules
- --prefix={{prefix}}
- --with-readline={{deps.gnu.org/readline.prefix}}
- --without-tutorial
- --disable-wxwidgets
- --without-qt
- --without-x
- --without-latex
provides:
- bin/gnuplot
test:
gnuplot --version | grep {{ version.marketing }}