]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - hyperscan/hyperscan.nm
hyperscan: Build only on x86
[people/pmueller/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
7version = 5.1.0
899a8a2f
MT
8release = 2
9
10# This won't build on any architectures but those
11sup_arches = x86_64 i686
916536c2
MT
12
13groups = System/Libraries
14url = https://github.com/intel/hyperscan
15license = BSD
16summary = High-performance regular expression matching library
17
18description
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.
27end
28
29source_dl = https://github.com/intel/hyperscan/archive/v%{version}.tar.gz#/
30
31build
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
50end
51
52packages
53 package %{name}
54
55 package %{name}-devel
56 template DEVEL
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62end