]>
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 | |
7 | version = 5.1.0 | |
3c07a5b1 | 8 | release = 3 |
899a8a2f MT |
9 | |
10 | # This won't build on any architectures but those | |
11 | sup_arches = x86_64 i686 | |
916536c2 MT |
12 | |
13 | groups = System/Libraries | |
14 | url = https://github.com/intel/hyperscan | |
15 | license = BSD | |
16 | summary = High-performance regular expression matching library | |
17 | ||
18 | description | |
19 | Hyperscan is a high-performance multiple regex matching library. It | |
20 | follows the regular expression syntax of the commonly-used libpcre | |
21 | library, but is a standalone library with its own C API. | |
22 | ||
23 | Hyperscan uses hybrid automata techniques to allow simultaneous | |
24 | matching of large numbers (up to tens of thousands) of regular | |
25 | expressions and for the matching of regular expressions across | |
26 | streams of data. | |
27 | end | |
28 | ||
29 | source_dl = https://github.com/intel/hyperscan/archive/v%{version}.tar.gz#/ | |
30 | ||
31 | build | |
32 | requires | |
33 | boost-devel >= 1.57 | |
34 | cmake | |
35 | gcc-c++ | |
36 | pcre-devel | |
37 | ragel | |
38 | sqlite-devel | |
39 | end | |
40 | ||
41 | build | |
42 | %{cmake} . \ | |
916536c2 MT |
43 | -DBUILD_STATIC_AND_SHARED:BOOL=OFF |
44 | ||
45 | make %{PARALLELISMFLAGS} | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | ||
52 | package %{name}-devel | |
53 | template DEVEL | |
54 | end | |
55 | ||
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
59 | end |