mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Boost 1.55 First recipe
This commit is contained in:
@@ -16,6 +16,7 @@ ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
SOURCE_DIR="boost_1_55_0"
|
||||
PATCHES="boost-1.55.0.patch"
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
PROVIDES="
|
||||
lib:boost = 1.55.0
|
||||
@@ -33,38 +34,43 @@ BUILD_PREREQUIRES="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libiconv
|
||||
devel:libbz2
|
||||
devel:libz
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
lib:libiconv
|
||||
lib:libbz2
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./bootstrap.sh \
|
||||
--without-icu \
|
||||
--prefix=`finddir B_SYSTEM_DIRECTORY` \
|
||||
--exec-prefix=`finddir B_SYSTEM_BIN_DIRECTORY` \
|
||||
--libdir=`finddir B_SYSTEM_LIB_DIRECTORY` \
|
||||
#--includedir=`finddir B_SYSTEM_HEADERS_DIRECTORY`
|
||||
--prefix=$prefix \
|
||||
--exec-prefix=$binDir \
|
||||
--libdir=$libDir \
|
||||
--includedir=$includeDir
|
||||
./bjam \
|
||||
-sICU_PATH=`finddir B_SYSTEM_DIRECTORY` \
|
||||
-sICONV_PATH=`finddir B_SYSTEM_DIRECTORY` \
|
||||
-sICU_PATH=$prefix \
|
||||
-sICONV_PATH=$prefix \
|
||||
-d2 \
|
||||
--without-mpi \
|
||||
--prefix=`finddir B_SYSTEM_DIRECTORY` \
|
||||
--exec-prefix=`finddir B_SYSTEM_BIN_DIRECTORY` \
|
||||
--libdir=`finddir B_SYSTEM_LIB_DIRECTORY` \
|
||||
#--includedir=`finddir B_SYSTEM_HEADERS_DIRECTORY` \
|
||||
--prefix=$prefix \
|
||||
--exec-prefix=$binDir \
|
||||
--libdir=$libDir \
|
||||
--includedir=$includeDir \
|
||||
--enable-threads=posix \
|
||||
--enable-thread-local-alloc \
|
||||
--enable-parallel-mark \
|
||||
--enable-parallel-mark \
|
||||
inlining=on \
|
||||
linkflags=-L`finddir B_SYSTEM_LIB_DIRECTORY` \
|
||||
linkflags=-L$libDir \
|
||||
threading=multi \
|
||||
variant=release \
|
||||
link=shared \
|
||||
runtime-link=shared
|
||||
--without-python
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -72,17 +78,160 @@ INSTALL()
|
||||
./bjam install \
|
||||
-d2 \
|
||||
--prefix=$prefix \
|
||||
#--exec-prefix=${DESTDIR}/`finddir B_SYSTEM_BIN_DIRECTORY` \
|
||||
#--libdir=${DESTDIR}/`finddir B_SYSTEM_LIB_DIRECTORY` \
|
||||
#--includedir=${DESTDIR}/`finddir B_SYSTEM_HEADERS_DIRECTORY` \
|
||||
--exec-prefix=$binDir \
|
||||
--libdir=$libDir \
|
||||
--includedir=$includeDir \
|
||||
inlining=on \
|
||||
--without-mpi
|
||||
--without-mpi \
|
||||
--without-python
|
||||
|
||||
packageEntries devel $includeDir
|
||||
packageEntries atomic $libDir/*atomic*
|
||||
packageEntries chrono $libDir/*chrono*
|
||||
packageEntries date_time $libDir/*date_time*
|
||||
packageEntries exception $libDir/*exception*
|
||||
packageEntries filesystem $libDir/*filesystem*
|
||||
packageEntries graph $libDir/*graph*
|
||||
packageEntries iostreams $libDir/*iostreams*
|
||||
packageEntries locale $libDir/*locale*
|
||||
packageEntries log $libDir/*log*
|
||||
packageEntries math $libDir/*math*
|
||||
packageEntries program_options $libDir/*program_options*
|
||||
packageEntries random $libDir/*random*
|
||||
packageEntries regex $libDir/*regex*
|
||||
packageEntries serialization $libDir/*serialization*
|
||||
packageEntries signals $libDir/*signals*
|
||||
packageEntries system $libDir/*system*
|
||||
packageEntries test $libDir/*test*
|
||||
packageEntries thread $libDir/*thread*
|
||||
packageEntries timer $libDir/*timer*
|
||||
packageEntries wave $libDir/*wave*
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
boost${secondaryArchSuffix} = $portVersion
|
||||
boost_devel$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
boost${secondaryArchSuffix} == $portVersion base
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_atomic="
|
||||
boost_atomic$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_atomic="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_chrono="
|
||||
boost_chrono$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_chrono="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_date_time="
|
||||
boost_date_time$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_date_time="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_exception="
|
||||
boost_exception$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_exception="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_filesystem="
|
||||
boost_filesystem$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_filesystem="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_graph="
|
||||
boost_graph$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_graph="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_iostreams="
|
||||
boost_iostreams$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_iostreams="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_locale="
|
||||
boost_locale$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_locale="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_log="
|
||||
boost_log$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_log="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_math="
|
||||
boost_math$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_math="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_program_options="
|
||||
boost_program_options$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_program_options="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_random="
|
||||
boost_random$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_random="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_regex="
|
||||
boost_regex$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_regex="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_serialization="
|
||||
boost_serialization$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_serialization="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_signals="
|
||||
boost_signals$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_signals="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_system="
|
||||
boost_system$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_system="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_test="
|
||||
boost_test$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_test="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_thread="
|
||||
boost_thread$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_thread="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_timer="
|
||||
boost_timer$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_timer="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
PROVIDES_wave="
|
||||
boost_wave$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_wave="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user