mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
72fd749e64
0001-Replace-make_shared-with-new-in-some-cases.patch 0002-Fix-missed-entries-fix-testing.patch 771.patch 842.patch removed since they are included in 0.8.2 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
39 lines
1.2 KiB
BlitzBasic
39 lines
1.2 KiB
BlitzBasic
SUMMARY = "C++/Boost Asio based websocket client/server library."
|
|
SECTION = "libs/network"
|
|
HOMEPAGE = "https://github.com/zaphoyd/websocketpp"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=4d168d763c111f4ffc62249870e4e0ea"
|
|
|
|
DEPENDS = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'openssl boost zlib', '', d)} "
|
|
|
|
SRC_URI = "git://github.com/zaphoyd/websocketpp.git;protocol=https \
|
|
file://0001-cmake-Use-GNUInstallDirs.patch \
|
|
file://855.patch \
|
|
file://857.patch \
|
|
file://0001-Correct-clang-compiler-flags.patch \
|
|
"
|
|
|
|
EXTRA_OECMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON', '', d)} "
|
|
|
|
# this is an header only library, do not depend on the main package
|
|
RDEPENDS_${PN}-dev = ""
|
|
|
|
# to add this package to an SDK, since it isn't a reverse-dependency of anything, just use something like this:
|
|
# TOOLCHAIN_TARGET_TASK_append = " websocketpp-dev"
|
|
|
|
# tag 0.8.2
|
|
SRCREV= "56123c87598f8b1dd471be83ca841ceae07f95ba"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
PACKAGES =+ "${PN}-examples"
|
|
|
|
FILES_${PN}-examples = "${docdir}"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${docdir}/${BPN}
|
|
cp -R ${S}/examples ${D}${docdir}/${BPN}
|
|
}
|