mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
asio, bump version (#11094)
This commit is contained in:
66
dev-cpp/asio/asio-1.31.0.recipe
Normal file
66
dev-cpp/asio/asio-1.31.0.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="Asynchronous Network Library"
|
||||
DESCRIPTION="Asio is a cross-platform C++ library for network and low-level I/O programming \
|
||||
that provides developers with a consistent asynchronous model using a modern C++ approach"
|
||||
HOMEPAGE="https://github.com/chriskohlhoff/asio/"
|
||||
COPYRIGHT="2003-2023 Christopher M. Kohlhoff"
|
||||
LICENSE="Boost v1.0"
|
||||
REVISION="1"
|
||||
ASIO_VERSION=`echo $portVersion | sed 's/\./-/g'`
|
||||
SOURCE_URI="https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-$ASIO_VERSION.tar.gz"
|
||||
CHECKSUM_SHA256="530540f973498c2d297771af1bc852f69b27509bbb56bc7ac3309c928373286f"
|
||||
SOURCE_DIR="asio-asio-$ASIO_VERSION"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
asio$secondaryArchSuffix
|
||||
devel:libasio$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
devel:libboost_coroutine$secondaryArchSuffix
|
||||
devel:libboost_regex$secondaryArchSuffix
|
||||
# devel:libssl$secondaryArchSuffix >= 3
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_coroutine$secondaryArchSuffix >= 1.83.0
|
||||
devel:libboost_regex$secondaryArchSuffix >= 1.83.0
|
||||
# devel:libssl$secondaryArchSuffix >= 3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
autoconf_archive
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CXXFLAGS="_DEFAULT_SOURCE"
|
||||
cd asio
|
||||
autoupdate
|
||||
aclocal
|
||||
autoconf
|
||||
automake --add-missing
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd asio
|
||||
make install $jobArgs
|
||||
|
||||
fixPkgconfig
|
||||
}
|
||||
|
||||
TEST() {
|
||||
cd asio
|
||||
make check $jobArgs
|
||||
}
|
||||
Reference in New Issue
Block a user