Add memchr crate
This commit is contained in:
committed by
Steven Walter
parent
c890efd958
commit
fb840fda14
23
recipes-core/memchr/memchr-rs_0.1.3.bb
Normal file
23
recipes-core/memchr/memchr-rs_0.1.3.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "Safe interface to memchr"
|
||||
HOMEPAGE = "https://github.com/BurntSushi/rust-memchr"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=8d0d0aa488af0ab9aafa3b85a7fc8e12"
|
||||
DEPENDS = "libc-rs"
|
||||
|
||||
inherit rust-bin
|
||||
|
||||
SRC_URI = "git://github.com/BurntSushi/rust-memchr.git;protocol=https"
|
||||
SRCREV = "a91e63378bf6f4bba5c7d88f4fe98efdcb432c99"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# This module is tiny. One wrapper function only.
|
||||
CRATE_TYPE = "rlib"
|
||||
|
||||
do_compile () {
|
||||
oe_compile_rust_lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_install_rust_lib
|
||||
}
|
||||
Reference in New Issue
Block a user