summaryrefslogtreecommitdiff
path: root/recipes/shasum/shasum.inc
blob: a02b9ffb5fdd8ea8a71cc19b6a2bf069d2627a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "A simple tool to create sha256 hashes from a file"
LICENSE = "LGPL"

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
}

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 ${S}/oe_sha256sum ${D}${bindir}/
}