]> git.ipfire.org Git - ipfire-3.x.git/blob - hyperscan/hyperscan.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / hyperscan / hyperscan.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = hyperscan
7 version = 5.4.0
8 release = 1.1
9
10 groups = System/Libraries
11 url = https://github.com/intel/hyperscan
12 license = BSD
13 summary = High-performance regular expression matching library
14
15 description
16 Hyperscan is a high-performance multiple regex matching library. It
17 follows the regular expression syntax of the commonly-used libpcre
18 library, but is a standalone library with its own C API.
19
20 Hyperscan uses hybrid automata techniques to allow simultaneous
21 matching of large numbers (up to tens of thousands) of regular
22 expressions and for the matching of regular expressions across
23 streams of data.
24 end
25
26 source_dl = https://github.com/intel/hyperscan/archive/v%{version}.tar.gz#/
27
28 build
29 # This package only supports x86_64
30 arches = x86_64
31
32 requires
33 boost-devel >= 1.57
34 cmake
35 gcc-c++
36 pcre-devel
37 ragel
38 sqlite-devel
39 end
40
41 # Disable LTO
42 LTO_CFLAGS =
43
44 build
45 %{cmake} . \
46 -DBUILD_SHARED_LIBS:BOOL=ON \
47 -DBUILD_STATIC_AND_SHARED:BOOL=OFF
48
49 make %{PARALLELISMFLAGS}
50 end
51 end
52
53 packages
54 package %{name}
55
56 package %{name}-devel
57 template DEVEL
58 end
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
63 end