From 69aaffe5033be5476e70e491da2b02f301b3f031 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Thu, 25 Jun 2015 13:27:44 -0400 Subject: [PATCH] Add time crate --- recipes-core/time/time-rs_0.1.26.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-core/time/time-rs_0.1.26.bb diff --git a/recipes-core/time/time-rs_0.1.26.bb b/recipes-core/time/time-rs_0.1.26.bb new file mode 100644 index 0000000..40c9a64 --- /dev/null +++ b/recipes-core/time/time-rs_0.1.26.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Utilities for working with time-related functions in Rust" +HOMEPAGE = "https://github.com/rust-lang/time" +LICENSE = "MIT | Apache-2.0" +LIC_FILES_CHKSUM = "\ + file://LICENSE-MIT;md5=362255802eb5aa87810d12ddf3cfedb4 \ + file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ +" +DEPENDS = "libc-rs" + +inherit rust-bin + +SRC_URI = "git://github.com/rust-lang/time.git;protocol=https" +SRCREV = "32b212b877b836dbfdc97af5674d91672e70ecbd" + +S = "${WORKDIR}/git" + +do_compile () { + oe_compile_rust_lib +} + +do_install () { + oe_install_rust_lib +}