Update readme, put example in example dir

This commit is contained in:
Cody P Schafer
2014-11-15 22:51:42 -05:00
parent 5cbb274444
commit 34ed27da30
2 changed files with 6 additions and 3 deletions
@@ -0,0 +1,21 @@
SRC_URI = "git://github.com/jmesmon/rust-hello-world.git;protocol=https"
SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728"
LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147"
SUMMARY = "Hello World by Cargo for Rust"
HOMEPAGE = "https://github.com/jmesmon/rust-hello-world"
LICENSE = "MIT | Apache-2.0"
DEPENDS = "cargo-native"
inherit rust
S = "${WORKDIR}/git"
B = "${S}"
do_compile () {
oe_runcargo_build
}
do_install () {
cp ${WORKDIR}/target/* ${D}${bindir}
}