From aec1e3484d89a3ef0fb5b3470a620cc055f66c37 Mon Sep 17 00:00:00 2001 From: Stefan Herbrechtsmeier Date: Tue, 26 Mar 2013 14:02:19 +0100 Subject: boost: Add real native support The current boost recipe only creates the bjam build tool during a native run and thereby is not usable for other native recipes that depend on a boost library. Split out the build tool into its own bjam-native recipe and add real native support to the boost recipe. Additionally replace the boost-native with bjam-native in the DEPENDS. This allows recipes to depend on native boost librarties without increase of the build time for other use cases. Native compilation of bzip2 isn't working and therefore disabled. Signed-off-by: Stefan Herbrechtsmeier Signed-off-by: Richard Purdie --- meta/recipes-support/boost/boost-1.53.0.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-support/boost/boost-1.53.0.inc (limited to 'meta/recipes-support/boost/boost-1.53.0.inc') diff --git a/meta/recipes-support/boost/boost-1.53.0.inc b/meta/recipes-support/boost/boost-1.53.0.inc new file mode 100644 index 0000000000..dbcaabcd10 --- /dev/null +++ b/meta/recipes-support/boost/boost-1.53.0.inc @@ -0,0 +1,19 @@ +# The Boost web site provides free peer-reviewed portable +# C++ source libraries. The emphasis is on libraries which +# work well with the C++ Standard Library. The libraries are +# intended to be widely useful, and are in regular use by +# thousands of programmers across a broad spectrum of applications. +HOMEPAGE = "http://www.boost.org/" +LICENSE = "BSL-1.0 & MIT & Python-2.0" +LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" + +BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" +BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" +BOOST_P = "boost_${BOOST_VER}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" + +SRC_URI[md5sum] = "a00d22605d5dbcfb4c9936a9b35bc4c2" +SRC_URI[sha256sum] = "f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196" + +S = "${WORKDIR}/${BOOST_P}" -- cgit v1.2.3