From e3d9812ca4db0e4dff4bb8afd2812f002efdbd04 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Thu, 25 Jun 2015 14:08:14 -0400 Subject: [PATCH] Add aho-corasick crate --- .../aho-corasick/aho-corasick-rs_0.2.1.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb diff --git a/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb b/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb new file mode 100644 index 0000000..a20f57e --- /dev/null +++ b/recipes-core/aho-corasick/aho-corasick-rs_0.2.1.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Fast multiple substring searching with finite state machines." +HOMEPAGE = "https://github.com/BurntSushi/aho-corasick" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=8d0d0aa488af0ab9aafa3b85a7fc8e12" +DEPENDS = "memchr-rs" + +inherit rust-bin + +SRC_URI = "git://github.com/BurntSushi/aho-corasick.git;protocol=https" +SRCREV = "e1bca33dcc060d587e802320a79cbb035f37f8fa" + +S = "${WORKDIR}/git" + +do_compile () { + oe_compile_rust_lib +} + +do_install () { + oe_install_rust_lib +}