]>
Commit | Line | Data |
---|---|---|
916536c2 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = hyperscan | |
4516a904 | 7 | version = 5.4.0 |
92492e8d | 8 | release = 1.1 |
899a8a2f | 9 | |
916536c2 MT |
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 | |
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 | |
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 |