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 +}