]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - hyperscan/hyperscan.nm
e1688a5c3d8fa6da0a5623537e84a3a6e9b9f8c5
[people/pmueller/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.1.0
8 release = 2
9
10 # This won't build on any architectures but those
11 sup_arches = x86_64 i686
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} . \
43 -DCMAKE_INSTALL_PREFIX=/usr \
44 -DCMAKE_INSTALL_LIBDIR=%{lib} \
45 -DBUILD_SHARED_LIBS:BOOL=ON \
46 -DBUILD_STATIC_AND_SHARED:BOOL=OFF
47
48 make %{PARALLELISMFLAGS}
49 end
50 end
51
52 packages
53 package %{name}
54
55 package %{name}-devel
56 template DEVEL
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end