diff --git a/recipes-wolfssl/benchmark/benchmark_3.0.0.bb b/recipes-wolfssl/benchmark/benchmark_3.0.0.bb index ead6c4a..4f604cd 100644 --- a/recipes-wolfssl/benchmark/benchmark_3.0.0.bb +++ b/recipes-wolfssl/benchmark/benchmark_3.0.0.bb @@ -5,24 +5,27 @@ DESCRIPTION = "CyaSSL is a lightweight SSL library written in C and \ a full TLS 1.2 client and server." HOMEPAGE = "http://www.yassl.com/yaSSL/Products-cyassl.html" BUGTRACKER = "http://github.com/cyassl/cyassl/issues" -SECTION = "libs/network" +SECTION = "x11/applications" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://benchmark.c;beginline=1;endline=22;md5=8ec78656ef85d2a41baf7762ee937771" +LIC_FILES_CHKSUM = "file://../benchmark.c;beginline=1;endline=22;md5=8ec78656ef85d2a41baf7762ee937771" PR = "r1" SRC_URI = "file://benchmark.c" -SRC_URI[md5sum] = "ddcc220b6eac7a34b7435234388c7bf9" -SRC_URI[sha256sum] = "9ee6a58400bb63efcd78195e1b55502bd17d809016dfb122d1cfc6400e0b35d8" +SRC_URI[md5sum] = "f8a52bd3d5951ef116614c8c33b44e97" +SRC_URI[sha256sum] = "204427833d78a98d54728b3af52dca0ef58dcbea1f1cdfa8ef9c46e828086515" S = "${WORKDIR}/${PN}-${PV}" +#PACKAGE_ARCH = "i586" +#TARGET_ARCH = "i586" + do_compile() { - clang -DNO_RABBIT -Wall -o benchmark /home/leah/wolfSSL/cyassl/ctaocrypt/benchmark/benchmark.c -lcyassl + clang -DNO_RABBIT -Wall -o benchmark /home/leah/wolfSSL/meta-wolfssl/recipes-wolfssl/benchmark/files/benchmark.c -lcyassl } do_install() { install -d ${D}${bindir} - install -m 0755 benchmark ${D}${bindir} + install -m 0755 ${WORKDIR}/benchmark ${D}${bindir} }