mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
asio: new recipe (#9780)
This commit is contained in:
74
dev-cpp/asio/asio-1.28.2.recipe
Normal file
74
dev-cpp/asio/asio-1.28.2.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
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"
|
||||
SOURCE_URI="https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-28-2.tar.gz"
|
||||
SOURCE_DIR="asio-asio-1-28-2"
|
||||
CHECKSUM_SHA256="5705a0e403017eba276625107160498518838064a6dd7fd8b00b2e30c0ffbdee"
|
||||
PATCHES="asio-$portVersion.patchset"
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
#PROVIDES_devel="
|
||||
# asio${secondaryArchSuffix}_devel
|
||||
# devel:libasio$secondaryArchSuffix
|
||||
# "
|
||||
#REQUIRES_devel="
|
||||
# asio$secondaryArchSuffix == $portVersion base
|
||||
# lib:libssl$secondaryArchSuffix
|
||||
# "
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_coroutine$secondaryArchSuffix >= 1.83.0
|
||||
devel:libboost_regex$secondaryArchSuffix >= 1.83.0
|
||||
devel:libssl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
autoconf_archive
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
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