diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
commit | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch) | |
tree | b6f535e053876097ced1b6bda14a4da890c730d4 /dev-cpp/asio | |
parent | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff) |
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'dev-cpp/asio')
-rw-r--r-- | dev-cpp/asio/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/asio/asio-1.30.2.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 3d2a306277a9..f9f71fcc2736 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,6 +1,8 @@ AUX asio-1.30.1-pkgconfig.patch 505 BLAKE2B d5c8d55444a47608f681dfbac9978edebb206b999aa7914b6d056bd18c252f001f58d53b587b2859c66495d6f8c3f74f252ddc9d7c25a8d37a394d843433f722 SHA512 b90f12054921913a6702863a731448e43635871e6fe1cb7baa80e5ad9487501704c634efe25592e661c999cafa61af2a4841add3221db28b1d29290eeea61446 DIST asio-1-30-1.tar.gz 2842718 BLAKE2B b99f6e1ab03c4da9bc802e04d66b46ac2374f7da9f65dd98dd3da3cf1cf507548ae2645343a63378ab91d665fc6e2efe5c5262f33757e851973534e23291abb1 SHA512 6b5f41479e20500dff6c535d8e3b096e11815784923bb4c0f68f69be59c80d7ad99c7e0380a1de4dd350e6cc6a79315d4645378a9b8d70d9f8d28a17f1cc68af DIST asio-1.28.1.tar.bz2 3383257 BLAKE2B 9d98152a6cf8b0e2a807275092b23f6198d8175fd7260499be7561cea2e6723c1a8478107315b7163cdc31d6eecab552550393ab3b1cfb686dcb4157d1e91fe4 SHA512 fadd7748675743ba9110f873bf57f2400a5c9c0dc03c1d6cd7f0988bc70ccbbff6cb6140f5dd236d2d874fc82a6f216406e8892808e915aae5119fe9d95743de +DIST asio-1.30.2.tar.bz2 3196850 BLAKE2B d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27 SHA512 2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a EBUILD asio-1.28.1.ebuild 1292 BLAKE2B f1a68c5338831c80f586f10207896fd9e0ee366d942542e9e65a13ef9b16652b4a4aac83f9c6cf8c28001505a092278a98679c18971266c248998cede51ea2c3 SHA512 889122ea7d5ba268c6b069e77eba129764eb31def43e34c2e423603a635ea53d30f5405d350a2ef500c34c5772e4f3c0190760ae0f7474235ce0b88049446be4 EBUILD asio-1.30.1.ebuild 1095 BLAKE2B 0c28bbb7d5ddc62a5ffed0ed43648d18d0259c6e623e7870f436b45dab3370c9a8fbd169308b480b51013b04e042c02c3fb4196ba84f77fde0fbf70652dfdfad SHA512 f5c1659cfeffec7a682f3dda76f38a907f243f56779f11602944e9dab8ee102f7017be95876f5ad0f4b888ca4b49bd330cf80eb8501813491264aae892cc866b +EBUILD asio-1.30.2.ebuild 1235 BLAKE2B 8edf680dc17f5e311b1c8fdc890eb74eae889d894e555076d31013b9982363035deba9b4729b2bf6330299b9ec416a7988c61f9bdd9b24dc23513b47a5cf96da SHA512 337fe5917084bfd572dc3a37f68b0621c25fecd44969e5a2968ed05918671f00f6d13c874c1a6837b0123e84920f1adf5fc820f39c746d32ca6ea37556273cb0 MISC metadata.xml 487 BLAKE2B 57785b73f498590d36241612367eda9036cc4ce85baa6c59e45a4c4f0b696f24f7bbe012eef33dd2e29a9c82fad82f75639e55f9c7a6e2e001b7ab48b65787cc SHA512 4a4f9713ea7274f730707dda0f2de0e0c19e50166466c0b8c3e5053e44fa5df02866235cfd97ebeaff15271cce662f1ae19383c0023813d429eded937d9b9cfb diff --git a/dev-cpp/asio/asio-1.30.2.ebuild b/dev-cpp/asio/asio-1.30.2.ebuild new file mode 100644 index 000000000000..6592a495eec8 --- /dev/null +++ b/dev-cpp/asio/asio-1.30.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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://downloads.sourceforge.net/asio/asio/${P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/boost + dev-libs/openssl + ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/asio-1.30.1-pkgconfig.patch" +) + +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() { + use doc && local HTML_DOCS=( doc/. ) + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + + # Make links to the example .cpp files work + # https://bugs.gentoo.org/828648 + if use doc; then + dosym ../examples /usr/share/doc/${PF}/src/examples + fi + fi +} |