Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 1 | SUMMARY = "Boost.Build" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | DESCRIPTION = "B2 makes it easy to build C++ projects, everywhere." |
| 3 | HOMEPAGE = "https://github.com/boostorg/build" |
Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 4 | SECTION = "devel" |
| 5 | |
| 6 | LICENSE = "BSL-1.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" |
| 8 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 9 | SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master" |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 10 | SRCREV = "76da80f33187a3d9e5336157cdfae12ce82e37eb" |
Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 11 | |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 12 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+){2,}))" |
| 13 | |
Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 14 | inherit native |
| 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | do_compile() { |
| 19 | ./bootstrap.sh |
| 20 | } |
| 21 | |
| 22 | do_install() { |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 23 | HOME=/var/run ./b2 install --prefix=${prefix} staging-prefix=${D}${prefix} |
Andrew Geissler | f034379 | 2020-11-18 10:42:21 -0600 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | # The build is either release mode (pre-stripped) or debug (-O0). |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | INSANE_SKIP:${PN} = "already-stripped" |