Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 0f30f72

Browse files
committed
Added gnuplot
1 parent 529c556 commit 0f30f72

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,16 @@
20992099
"version: \"?(?<currentValue>.*?)\"?\\n"
21002100
]
21012101
},
2102+
{
2103+
"datasourceTemplate": "git-tags",
2104+
"depNameTemplate": "https://git.code.sf.net/p/gnuplot/gnuplot-main.git",
2105+
"fileMatch": [
2106+
"^tools/gnuplot/manifest.yaml$"
2107+
],
2108+
"matchStrings": [
2109+
"version: \"?(?<currentValue>.*?)\"?\\n"
2110+
]
2111+
},
21022112
{
21032113
"datasourceTemplate": "github-tags",
21042114
"depNameTemplate": "golang/go",

tools/gnuplot/Dockerfile.template

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
apt-get update
10+
apt-get -y install --no-install-recommends \
11+
autogen \
12+
autoconf \
13+
automake \
14+
libtool \
15+
build-essential
16+
EOF
17+
WORKDIR /tmp/gnuplot
18+
RUN <<EOF
19+
curl --silent --location --fail "https://downloads.sourceforge.net/project/gnuplot/gnuplot/${version}/gnuplot-${version}.tar.gz" \
20+
| tar --extract --gzip --strip-components=1
21+
./configure --prefix="${prefix}${target}" \
22+
--disable-dependency-tracking \
23+
--disable-silent-rules \
24+
--without-tutorial \
25+
--disable-wxwidgets \
26+
--without-qt \
27+
--without-x \
28+
--without-latex \
29+
--disable-plugins
30+
make LDFLAGS=-static
31+
make install
32+
EOF

tools/gnuplot/manifest.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# yaml-language-server: $schema=https://docker-setup.dille.io/schema.yaml
2+
$schema: https://docker-setup.dille.io/schema.yaml
3+
name: gnuplot
4+
version: "5.4.8"
5+
check: ""
6+
platforms:
7+
- linux/amd64
8+
#- linux/arm64
9+
tags:
10+
- category/development
11+
- lang/c
12+
- type/cli
13+
homepage: http://www.gnuplot.info
14+
description: Command-driven, interactive function plotting
15+
renovate:
16+
datasource: git-tags
17+
package: https://git.code.sf.net/p/gnuplot/gnuplot-main.git
18+
priority: low

0 commit comments

Comments
 (0)