summaryrefslogtreecommitdiff
path: root/dev-cpp/asio
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/asio')
-rw-r--r--dev-cpp/asio/Manifest2
-rw-r--r--dev-cpp/asio/asio-1.34.0.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest
index 920eb4815a59..dab0f2b77ec1 100644
--- a/dev-cpp/asio/Manifest
+++ b/dev-cpp/asio/Manifest
@@ -1,4 +1,6 @@
AUX asio-1.30.1-pkgconfig.patch 505 BLAKE2B d5c8d55444a47608f681dfbac9978edebb206b999aa7914b6d056bd18c252f001f58d53b587b2859c66495d6f8c3f74f252ddc9d7c25a8d37a394d843433f722 SHA512 b90f12054921913a6702863a731448e43635871e6fe1cb7baa80e5ad9487501704c634efe25592e661c999cafa61af2a4841add3221db28b1d29290eeea61446
+DIST asio-1-34-0.tar.gz 2845964 BLAKE2B 6b51544ead3c17a1ab35524b21e1ff51d38ae86a70622bc86c04678d882843f5f03c35363a7f0b23393fa688b6dd0600cec5c1a4812e273cca1813700c04f0ec SHA512 989e1b453cd5ab3cd8d9d35ea828c6fefb539b41c5e7f57b1dcba9a0a0f1cb2f90a80b4e03cc071fc904e2cf82212e6afb29062d50c2ebf36e798ce171f3ed48
DIST asio-1.30.2.tar.bz2 3196850 BLAKE2B d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27 SHA512 2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a
EBUILD asio-1.30.2.ebuild 1230 BLAKE2B e5eb0ea0cfd08f955c58be83e780e8afac0627ea53acce55e15875172ddf63055e5c158845f13b9efd2f4fad7d09a39d82cc9d2a104dea2d3e839268e86903fc SHA512 b68d686f881d4a6d8aba6d7cfef391648102a9765da3d9ca9728be1f6e430b9d835f05b71d8375a794125e124ea6dacb0f725d60aa8e2d32a0114f68a827fb04
+EBUILD asio-1.34.0.ebuild 1040 BLAKE2B 461231c65158804da984772818d399887556f477aa6ea776a42bd47e8c94b21a70d7198ccefef592819f25826e7faa77063d1f1212c680a3e41789121e1d4962 SHA512 bd2c7e33772f4463f65c374fc0e5250f42209bd35f10fb3412716f04ab1749ed414dec7ef57b7529c2b0b32ed1ee3d3d01fd819255fef05e13fc383e8d9526c5
MISC metadata.xml 487 BLAKE2B 57785b73f498590d36241612367eda9036cc4ce85baa6c59e45a4c4f0b696f24f7bbe012eef33dd2e29a9c82fad82f75639e55f9c7a6e2e001b7ab48b65787cc SHA512 4a4f9713ea7274f730707dda0f2de0e0c19e50166466c0b8c3e5053e44fa5df02866235cfd97ebeaff15271cce662f1ae19383c0023813d429eded937d9b9cfb
diff --git a/dev-cpp/asio/asio-1.34.0.ebuild b/dev-cpp/asio/asio-1.34.0.ebuild
new file mode 100644
index 000000000000..c3ce1b16bbcb
--- /dev/null
+++ b/dev-cpp/asio/asio-1.34.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Asynchronous Network Library"
+HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio"
+SRC_URI="https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-${PV//./-}.tar.gz"
+S="${WORKDIR}/asio-asio-${PV//./-}/asio"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ dev-libs/boost
+ dev-libs/openssl
+ )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ if ! use test; then
+ # Don't build nor install any examples or unittests
+ # since we don't have a script to run them
+ cat > src/Makefile.in <<-EOF || die
+ all:
+
+ install:
+
+ clean:
+ EOF
+ fi
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ # Get rid of the object files
+ emake clean
+ dodoc -r src/examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}