summaryrefslogtreecommitdiff
path: root/meta/packages/shasum/shasum.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/shasum/shasum.inc')
-rw-r--r--meta/packages/shasum/shasum.inc14
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/packages/shasum/shasum.inc b/meta/packages/shasum/shasum.inc
index 343a2d288..ad51bcc60 100644
--- a/meta/packages/shasum/shasum.inc
+++ b/meta/packages/shasum/shasum.inc
@@ -1,20 +1,24 @@
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
+}
+
+NATIVE_INSTALL_WORKS = "1"
+do_install() {
+ install -d ${D}${bindir}/
+ install ${S}/oe_sha256sum ${D}${bindir}/
}