summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Roessner <c@roessner-network-solutions.com>2017-04-26 11:26:20 +0200
committerDirkjan Ochtman <djc@gentoo.org>2017-04-26 20:43:20 +0200
commit4e718599e95198a9017656f40d068b6f99719cb0 (patch)
treec689a62c3a81f24bd030697d144a02e455a81105 /dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild
parentdev-ada/aunit: Add dev-ada/aunit-2016 (diff)
downloadgentoo-4e718599e95198a9017656f40d068b6f99719cb0.tar.gz
gentoo-4e718599e95198a9017656f40d068b6f99719cb0.tar.bz2
gentoo-4e718599e95198a9017656f40d068b6f99719cb0.zip
dev-libs/hyperscan: bump to 4.4.1-r1, fix 616626
Gentoo-Bug: 616626
Diffstat (limited to 'dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild')
-rw-r--r--dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild b/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild
new file mode 100644
index 000000000000..9bc34a0334af
--- /dev/null
+++ b/dev-libs/hyperscan/hyperscan-4.4.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="High-performance regular expression matching library"
+SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz"
+HOMEPAGE="https://01.org/hyperscan"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_ssse3 static-libs"
+
+DEPEND="dev-util/ragel
+ =dev-lang/python-2*
+ dev-libs/boost
+ net-libs/libpcap"
+
+REQUIRED_USE="cpu_flags_x86_ssse3"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
+ -DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF)
+ )
+ cmake-utils_src_configure
+}