From: Richard Purdie Date: Sun, 1 Aug 2010 19:45:54 +0000 (+0100) Subject: shasum: Convert do_stage -> do_install (from Poky) X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17b3239cdf80ed1739a7238879e4f90f7a110fe1;p=openembedded.git shasum: Convert do_stage -> do_install (from Poky) Signed-off-by: Richard Purdie Signed-off-by: Khem Raj --- diff --git a/recipes/shasum/shasum-native.bb b/recipes/shasum/shasum-native.bb index fab6244f71..d39a6c3865 100644 --- a/recipes/shasum/shasum-native.bb +++ b/recipes/shasum/shasum-native.bb @@ -6,7 +6,3 @@ INHIBIT_DEFAULT_DEPS = "1" PATCHTOOL = "patch" do_fetch[depends] = "" -do_stage() { - install -d ${STAGING_BINDIR} - install -m 0755 ${S}/oe_sha256sum ${STAGING_BINDIR} -} diff --git a/recipes/shasum/shasum.inc b/recipes/shasum/shasum.inc index 343a2d288e..a02b9ffb5f 100644 --- a/recipes/shasum/shasum.inc +++ b/recipes/shasum/shasum.inc @@ -1,20 +1,23 @@ SUMMARY = "A simple tool to create sha256 hashes from a file" LICENSE = "LGPL" -PR = "r1" +PR = "r1" S = "${WORKDIR}" - SRC_URI = "file://main.c \ file://mhash_sha256.h \ file://sha256.c " - do_configure() { - : + : } do_compile() { - $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c + $CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c +} + +do_install() { + install -d ${D}${bindir}/ + install -m 0755 ${S}/oe_sha256sum ${D}${bindir}/ }