1 |
commit: dcca646823744fc66f55800fa3fdc8ea48c8f0c2 |
2 |
Author: Stefan Strogin <steils <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 00:43:24 2020 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 00:47:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcca6468 |
7 |
|
8 |
dev-cpp/asio: version bump to 1.16.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
12 |
|
13 |
dev-cpp/asio/Manifest | 1 + |
14 |
dev-cpp/asio/asio-1.16.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest |
18 |
index a846df08f77..8a8bdaaca0e 100644 |
19 |
--- a/dev-cpp/asio/Manifest |
20 |
+++ b/dev-cpp/asio/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd |
22 |
DIST asio-1.12.2.tar.bz2 1437221 BLAKE2B c4479b66cff7811aa7b7dbe65684d2a11fb675df53e9554c2871fd4e3a8e32d262ae701e98198d508f89463da48d4509f12e8db87d033a91d55e00609207a351 SHA512 7ce2c9e846059a2205eca6bde285eab81164fbe087d51d35a33a07be6208049fcf07fc1ac33934a758b6b5907e56f3377e20bff10ffc9268376f81c6fae4e34a |
23 |
DIST asio-1.13.0.tar.bz2 1472744 BLAKE2B 1fde414bfc782f25f8ad7d7caf9ac8971bea22ebd3b74846584a242d7df164895759b74777b2330aa98d34c5b8c34f266a2f85fcc27413990cc05420f7685398 SHA512 30b09c6656c9beaf091e72d518930bb5650f4bf66b286d11457a949a690a2b9ddcad0c95cb2098b41a2226f354741755ffbc92098f2844f3253e1921ff60cd5b |
24 |
DIST asio-1.14.0.tar.bz2 1473195 BLAKE2B e28960d585a1a84c6be7d6205be310bd2baab36e93630b9f5f4fba593377e57d6baf1c60e2503c46cd00ae73b20b622215358cae2068e86b62dac7e782210ecb SHA512 84855a06a3facc41e3c1c61be443d8b73a01afcb9bc3f1f444f0f3fd901ea1d5c932266ed94a031a0abd83171d5a6b83b6ab850e44aa31d175081a7e07b4793a |
25 |
+DIST asio-1.16.1.tar.bz2 1493978 BLAKE2B 810fd735a0cbea8e07bfe30cbf02d44469c3c7eebed3822766c0a658fe8972681232afe4a6124537886fafd0769eecc40b8eabbcaa2771b84b93cda56329394d SHA512 e8cab449887e3e362f9d3c2aa1b1bbb2f81954aeaf2cd12cefe7f848cdc30e1a576130b49f551efd49611b9d4941e724baea42739c043e158626f3c982b75311 |
26 |
|
27 |
diff --git a/dev-cpp/asio/asio-1.16.1.ebuild b/dev-cpp/asio/asio-1.16.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d14123c9466 |
30 |
--- /dev/null |
31 |
+++ b/dev-cpp/asio/asio-1.16.1.ebuild |
32 |
@@ -0,0 +1,49 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+DESCRIPTION="Asynchronous Network Library" |
39 |
+HOMEPAGE="https://think-async.com" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="Boost-1.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="doc examples libressl ssl test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND="dev-libs/boost |
49 |
+ ssl? ( |
50 |
+ !libressl? ( dev-libs/openssl:0= ) |
51 |
+ libressl? ( dev-libs/libressl:0= ) |
52 |
+ )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ |
58 |
+ if ! use test; then |
59 |
+ # Don't build nor install any examples or unittests |
60 |
+ # since we don't have a script to run them |
61 |
+ cat > src/Makefile.in <<-EOF || die |
62 |
+ all: |
63 |
+ |
64 |
+ install: |
65 |
+ |
66 |
+ clean: |
67 |
+ EOF |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ use doc && local HTML_DOCS=( doc/. ) |
73 |
+ default |
74 |
+ |
75 |
+ if use examples; then |
76 |
+ # Get rid of the object files |
77 |
+ emake clean |
78 |
+ dodoc -r src/examples |
79 |
+ docompress -x /usr/share/doc/${PF}/examples |
80 |
+ fi |
81 |
+} |