From 77a5894b0da4f37282c60ee6cd56a1ddbc174af5 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 5 Mar 2017 13:17:11 +0100 Subject: libcryptopp: add test package with the testbinary Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-support/libcryptopp/libcryptopp_5.6.3.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-support/libcryptopp/libcryptopp_5.6.3.bb b/recipes-support/libcryptopp/libcryptopp_5.6.3.bb index b24fc11..88b6be7 100644 --- a/recipes-support/libcryptopp/libcryptopp_5.6.3.bb +++ b/recipes-support/libcryptopp/libcryptopp_5.6.3.bb @@ -20,6 +20,8 @@ SRC_URI[sha256sum] = "9390670a14170dd0f48a6b6b06f74269ef4b056d4718a1a329f6f6069d inherit autotools-brokensep pkgconfig +PACKAGES_prepend = "${PN}-test " + EXTRA_OECONF = "--libdir=${base_libdir}" TARGET_CC_ARCH += "${LDFLAGS}" @@ -45,3 +47,5 @@ do_install_append() { ln -fs libcryptopp.so.${PV} ${D}/usr/lib/libcryptopp.so fi } + +FILES_${PN}-test = "${bindir}" -- cgit v1.2.3