From d6792975523a7c5e2280eab8ef6aa2babe3de5a3 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Thu, 25 Jun 2015 15:32:43 -0400 Subject: [PATCH] Add getopts crate --- recipes-core/getopts/getopts-rs_0.2.11.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-core/getopts/getopts-rs_0.2.11.bb diff --git a/recipes-core/getopts/getopts-rs_0.2.11.bb b/recipes-core/getopts/getopts-rs_0.2.11.bb new file mode 100644 index 0000000..8ac5546 --- /dev/null +++ b/recipes-core/getopts/getopts-rs_0.2.11.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "getopts-like option parsing" +HOMEPAGE = "https://github.com/rust-lang/getopts" +LICENSE = "MIT | Apache-2.0" +LIC_FILES_CHKSUM = "\ + file://LICENSE-MIT;md5=362255802eb5aa87810d12ddf3cfedb4 \ + file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ +" +DEPENDS = "log-rs" + +inherit rust-bin + +SRC_URI = "git://github.com/rust-lang/getopts.git;protocol=https" +SRCREV = "a13c62b7d860b6d370129ebb972bf5e0373c5be7" + +S = "${WORKDIR}/git" + +do_compile () { + oe_compile_rust_lib +} + +do_install () { + oe_install_rust_lib +}