From ed0ec396fbd98f17299fe08c29170fdce148a9fa Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 14 Mar 2025 00:31:49 +0000 Subject: dev-cpp/asio: add 1.34.0 Switch tarball to github yet again, because new versions are not published on sourcefourge. Therefore, like in one of previous versions, remove USE=doc again. Signed-off-by: Alexey Sokolov Signed-off-by: Sam James --- dev-cpp/asio/Manifest | 1 + dev-cpp/asio/asio-1.34.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-cpp/asio/asio-1.34.0.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index d64ad54ea99a..4c4049b1ea03 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1 +1,2 @@ +DIST asio-1-34-0.tar.gz 2845964 BLAKE2B 6b51544ead3c17a1ab35524b21e1ff51d38ae86a70622bc86c04678d882843f5f03c35363a7f0b23393fa688b6dd0600cec5c1a4812e273cca1813700c04f0ec SHA512 989e1b453cd5ab3cd8d9d35ea828c6fefb539b41c5e7f57b1dcba9a0a0f1cb2f90a80b4e03cc071fc904e2cf82212e6afb29062d50c2ebf36e798ce171f3ed48 DIST asio-1.30.2.tar.bz2 3196850 BLAKE2B d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27 SHA512 2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a 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 +} -- cgit v1.2.3