xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/boost/boost-build-native_4.4.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Boost.Build"
2DESCRIPTION = "B2 makes it easy to build C++ projects, everywhere."
3HOMEPAGE = "https://github.com/boostorg/build"
4SECTION = "devel"
5
6LICENSE = "BSL-1.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
8
9SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master"
10SRCREV = "76da80f33187a3d9e5336157cdfae12ce82e37eb"
11
12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+){2,}))"
13
14inherit native
15
16S = "${WORKDIR}/git"
17
18do_compile() {
19    ./bootstrap.sh
20}
21
22do_install() {
23    HOME=/var/run ./b2 install --prefix=${prefix} staging-prefix=${D}${prefix}
24}
25
26# The build is either release mode (pre-stripped) or debug (-O0).
27INSANE_SKIP:${PN} = "already-stripped"
28