]> git.ipfire.org Git - ipfire-3.x.git/blame - graphviz/graphviz.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / graphviz / graphviz.nm
CommitLineData
0cb653df
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = graphviz
7version = 7.0.4
fb0b5f5a 8release = 2.1
0cb653df
MT
9
10groups = Development/Tools
11url = https://gitlab.com/graphviz/graphviz
12license = EPL
13summary = Graph Visualization Tools
14
15description
16 Graph visualization is a way of representing structural information
17 as diagrams of abstract graphs and networks. It has important
18 applications in networking, bioinformatics, software engineering,
19 database and web design, machine learning, and in visual interfaces
20 for other technical domains.
21end
22
23source_dl = https://gitlab.com/graphviz/graphviz/-/archive/%{version}/
24sources = %{thisapp}.tar.bz2
25
26build
27 requires
28 autoconf
29 automake
30 bison
31 cairo-devel
32 flex
33 fontconfig-devel
34 ghostscript-devel
35 libjpeg-devel
36 libpng-devel
37 libtool
38 pango-devel
39 end
40
41 prepare_cmds
42 ./autogen.sh
43 end
44
9a7312a1
SS
45 configure_options += \
46 --enable-debug
47
48 configure_cmds
49 # Add some additional C compiler flags to proper harden liblab_gamut.
50 sed -i '/^CFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
51 lib/edgepaint/Makefile
52
53 # Add some additional C and C++ compiler flags to proper harden
54 # the "dot" binaries.
55 sed -i '/^CFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
56 cmd/dot/Makefile
57 sed -i '/^CXXFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
58 cmd/dot/Makefile
59
60 # Add some additional C compiler flags to proper harden the
61 # "gvpr" binaries.
62 sed -i '/^CFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
63 cmd/gvpr/Makefile
64
65 # Add some additional C compiler flags to proper harden the
66 # tools.
67 sed -i '/^CFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
68 cmd/tools/Makefile
69 end
70
0cb653df
MT
71 test
72 make check
73 end
74end
75
76packages
77 package %{name}
78
79 package %{name}-libs
80 template LIBS
81 end
82
83 package %{name}-devel
84 template DEVEL
85
86 requires
87 graphviz = %{thisver}
88 graphviz-libs = %{thisver}
89 end
90 end
91
92 package %{name}-debuginfo
93 template DEBUGINFO
94 end
95end