add package hyperscan

This commit is contained in:
Boris Nagaev 2016-05-18 21:08:45 +03:00
parent 0acac278d2
commit 1ed002bd17
3 changed files with 6482 additions and 0 deletions

View File

@ -1525,6 +1525,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">hunspell</td>
<td class="website"><a href="http://hunspell.sourceforge.net/">Hunspell</a></td>
</tr>
<tr>
<td class="package">hyperscan</td>
<td class="website"><a href="https://01.org/hyperscan">Hyperscan</a></td>
</tr>
<tr>
<td class="package">icu4c</td>
<td class="website"><a href="http://site.icu-project.org/">ICU4C</a></td>

6449
src/hyperscan-1-fixes.patch Normal file

File diff suppressed because it is too large Load Diff

29
src/hyperscan.mk Normal file
View File

@ -0,0 +1,29 @@
# This file is part of MXE.
# See index.html for further information.
PKG := hyperscan
$(PKG)_IGNORE :=
$(PKG)_VERSION := 4.1.0
$(PKG)_CHECKSUM := b8de3f59c2bd1a8765a5aca5dfdd062766cef67218aedf63df2c92766524b3c1
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := https://github.com/01org/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc boost
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, 01org/hyperscan, v)
endef
define $(PKG)_BUILD
mkdir '$(1).build'
cd '$(1).build' && '$(TARGET)-cmake' \
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) \
'$(1)'
$(MAKE) -C '$(1).build' -j '$(JOBS)'
$(MAKE) -C '$(1).build' -j 1 install
'$(TARGET)-gcc' \
'$(1)/examples/simplegrep.c' \
-o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`$(TARGET)-pkg-config --cflags --libs libhs`
endef