mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
SUMMARY="Makes it easy to build C++ projects, everywhere"
|
|
DESCRIPTION="You name your executables and libraries and list their sources. \
|
|
Boost.Build takes care about compiling your sources with right options, \
|
|
creating static and shared libraries, making executables, and other chores — \
|
|
whether you're using gcc, msvc, or a dozen more supported C++ compilers — on \
|
|
Windows, OSX, Linux and commercial UNIX systems."
|
|
HOMEPAGE="https://www.boost.org/build/index.html"
|
|
COPYRIGHT="2006, 2014 Vladimir Prus"
|
|
LICENSE="Boost v1.0"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/boostorg/build/archive/boost-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="08df6f0e32c59e51a134e598b29a3dacb415a58e4494635b82a071d43a1e3631"
|
|
SOURCE_DIR="build-boost-$portVersion"
|
|
PATCHES="boost_build-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
boost_build$secondaryArchSuffix
|
|
cmd:b2$secondaryArchSuffix
|
|
cmd:bjam$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export LIBS=-lbsd
|
|
sh bootstrap.sh
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
runConfigure ./b2 install
|
|
}
|