dev-libs/hyperscan: Version bump to 5.1.1 and 5.2.0
authorChristian Roessner <c@roessner.co>
Wed, 21 Aug 2019 08:58:49 +0000 (10:58 +0200)
committerAlexey Shvetsov <alexxy@gentoo.org>
Sun, 6 Oct 2019 13:45:37 +0000 (16:45 +0300)
Signed-off-by: Christian Roessner <c@roessner.co>
Closes: https://github.com/gentoo/gentoo/pull/12757
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
dev-libs/hyperscan/Manifest
dev-libs/hyperscan/hyperscan-5.1.1.ebuild [new file with mode: 0644]
dev-libs/hyperscan/hyperscan-5.2.0.ebuild [new file with mode: 0644]

index e51d159070d788ddf7b69eea4a46a5d4311ab85c..64a310c6073c360eb940f93a5a53aeccd806161f 100644 (file)
@@ -1 +1,3 @@
 DIST hyperscan-5.1.0.tar.gz 1810559 BLAKE2B 0946b3afe00cdce51b82852515ffe674729854d762854c252ba90fc73cbdc23205fe75f8e6c4e976efb31bf10950076b5790bd9692768dabcbd642d53e739c32 SHA512 5e6d11429e61dc061dd31e6b311a8c1dbfcd03af6e24d97b95eb2cef24dcd33d593064e5faa7c22807d785a8921bc410a69a43c4e5b3d7b4774f37c4a12a025d
+DIST hyperscan-5.1.1.tar.gz 1811275 BLAKE2B 524f1fbdfd470cd12ebb0ab4e122a97f6a90a1027adfa0850921a8f80c09f87792fed3da6b10367336b1e84987414bda93b98aa30aa9ff6dd899bf29fdd4294a SHA512 2812174890f775bc0c99019afe49cfde9ecc1107626cb4f1c9e1518228d090cba43bc15a19beaa00bae2a8a3dad85e7f27d4b237973360a294db78098fcb8508
+DIST hyperscan-5.2.0.tar.gz 1818751 BLAKE2B 4d74a4d022a59ee37c7df274ff1a37153898aa403bdfa3ec39df7304f7f65bcae1bbc074a2801223ef00903a5b8a01845e985c2ad196496d40899bab79df3844 SHA512 4d56e2d02dfbedf3caa8b212dae2ac3575b343b1ed2a75e91f6074ef265bbc28cfb78ad7f08dc47d7cc2e3e3e02e488c4cb75efacc41755f993236d97ddcb4cc
diff --git a/dev-libs/hyperscan/hyperscan-5.1.1.ebuild b/dev-libs/hyperscan/hyperscan-5.1.1.ebuild
new file mode 100644 (file)
index 0000000..7d40d8f
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-r1
+
+DESCRIPTION="High-performance regular expression matching library"
+SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://01.org/hyperscan"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_ssse3 static-libs"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-util/ragel
+       dev-libs/boost
+       net-libs/libpcap"
+DEPEND="${RDEPEND}"
+
+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
+}
diff --git a/dev-libs/hyperscan/hyperscan-5.2.0.ebuild b/dev-libs/hyperscan/hyperscan-5.2.0.ebuild
new file mode 100644 (file)
index 0000000..7d40d8f
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-r1
+
+DESCRIPTION="High-performance regular expression matching library"
+SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://01.org/hyperscan"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_ssse3 static-libs"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-util/ragel
+       dev-libs/boost
+       net-libs/libpcap"
+DEPEND="${RDEPEND}"
+
+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
+}