1 DESCRIPTION = "An Enhanced Make Replacement"
2 HOMEPAGE = "http://www.boost.org/"
3 SECTION = "Development/Tools/Building"
4 LICENSE = "BSD-3-Clause"
12 #PROVIDES by boost-jam
13 PROVIDES += "boost-jam"
14 RPROVIDES_boost-jam += "boost-jam"
23 chmod -Rf a+rX,u+w,g-w,o-w ${S}
25 cp ${S}/packaging/boost-jam.manifest .
26 find . -type f|xargs chmod -R u+w
38 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
39 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
40 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
41 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
43 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
44 export CFLAGS="$RPM_OPT_FLAGS"
45 LOCATE_TARGET=bin ./build.sh gcc --symbols
46 # Trivial test: -- Documented used of bjam -v: Print the version of jam and exit:
50 tar xvf ${S}/packaging/test.tar.gz
51 ln -s boost-jam-201104 src
53 sh test.sh || if [ $? -gt 5 ]; then sh test.sh;fi
60 echo export RPM_BUILD_ROOT=${D}
68 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/boost-jam-201104
69 install -m 755 bin/bjam ${D}/usr/bin/bjam-201104
70 ln -sf bjam-201104 ${D}/usr/bin/bjam
71 ln -sf bjam-201104 ${D}/usr/bin/jam
77 PACKAGES += "boost-jam"
80 boost-jam_files += "boost-jam.manifest"
82 FILES_${PN} = "${boost-jam_files}"
84 PKG_boost-jam= "boost-jam"
86 require boost-jam-extraconf.inc