summaryrefslogtreecommitdiff
path: root/packages/shasum/shasum.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shasum/shasum.inc')
-rw-r--r--packages/shasum/shasum.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/shasum/shasum.inc b/packages/shasum/shasum.inc
new file mode 100644
index 0000000000..1ff6e83767
--- /dev/null
+++ b/packages/shasum/shasum.inc
@@ -0,0 +1,18 @@
+SUMMARY = "A simple tool to create sha256 hashes from a file"
+LICENSE = "LGPL"
+
+S = "${WORKDIR}"
+
+
+SRC_URI = "file://main.c \
+ file://mhash_sha256.h \
+ file://sha256.c "
+
+
+do_configure() {
+ :
+}
+
+do_compile() {
+ $CC $CFLAGS $CPPFLAGS -o sha256sum main.c sha256.c
+}