2007-08-08 21:06:01 +00:00
|
|
|
SUMMARY = "A simple tool to create sha256 hashes from a file"
|
|
|
|
LICENSE = "LGPL"
|
|
|
|
|
2009-11-16 21:53:21 +00:00
|
|
|
PR = "r1"
|
2007-08-08 21:06:01 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
|
|
|
|
SRC_URI = "file://main.c \
|
|
|
|
file://mhash_sha256.h \
|
|
|
|
file://sha256.c "
|
|
|
|
|
|
|
|
do_configure() {
|
2009-11-16 21:53:21 +00:00
|
|
|
:
|
2007-08-08 21:06:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_compile() {
|
2009-11-16 21:53:21 +00:00
|
|
|
$CC $CFLAGS $CPPFLAGS -o oe_sha256sum main.c sha256.c
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -d ${D}${bindir}/
|
|
|
|
install ${S}/oe_sha256sum ${D}${bindir}/
|
2007-08-08 21:06:01 +00:00
|
|
|
}
|