]> git.ipfire.org Git - ipfire-3.x.git/blame - hyperscan/hyperscan.nm
openssh: Update to 9.4p1
[ipfire-3.x.git] / hyperscan / hyperscan.nm
CommitLineData
916536c2
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = hyperscan
4516a904 7version = 5.4.0
92492e8d 8release = 1.1
899a8a2f 9
916536c2
MT
10groups = System/Libraries
11url = https://github.com/intel/hyperscan
12license = BSD
13summary = High-performance regular expression matching library
14
15description
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.
24end
25
26source_dl = https://github.com/intel/hyperscan/archive/v%{version}.tar.gz#/
27
28build
84587bfe
MT
29 # This package only supports x86_64
30 arches = x86_64
31
916536c2
MT
32 requires
33 boost-devel >= 1.57
34 cmake
35 gcc-c++
36 pcre-devel
37 ragel
38 sqlite-devel
39 end
40
92492e8d
MT
41 # Disable LTO
42 LTO_CFLAGS =
43
916536c2
MT
44 build
45 %{cmake} . \
4516a904 46 -DBUILD_SHARED_LIBS:BOOL=ON \
916536c2
MT
47 -DBUILD_STATIC_AND_SHARED:BOOL=OFF
48
49 make %{PARALLELISMFLAGS}
50 end
51end
52
53packages
54 package %{name}
55
56 package %{name}-devel
57 template DEVEL
58 end
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
63end