Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/stuntman/
Date: Sun, 31 Oct 2021 09:42:11
Message-Id: 1635673310.a689dc27e45ceca1d5a00b8f40818ca16f0496a5.sam@gentoo
1 commit: a689dc27e45ceca1d5a00b8f40818ca16f0496a5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 09:41:50 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 09:41:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a689dc27
7
8 net-misc/stuntman: respect AR, CXX
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/stuntman/stuntman-1.2.16.ebuild | 13 ++++++++-----
13 1 file changed, 8 insertions(+), 5 deletions(-)
14
15 diff --git a/net-misc/stuntman/stuntman-1.2.16.ebuild b/net-misc/stuntman/stuntman-1.2.16.ebuild
16 index ceea617f4d7..6cf50090706 100644
17 --- a/net-misc/stuntman/stuntman-1.2.16.ebuild
18 +++ b/net-misc/stuntman/stuntman-1.2.16.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI=7
22
23 +inherit toolchain-funcs
24 +
25 DESCRIPTION="Open source implementation of the STUN protocol"
26 HOMEPAGE="http://www.stunprotocol.org"
27 SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
28 @@ -10,7 +12,6 @@ SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
29 LICENSE="Apache-2.0"
30 SLOT="0"
31 KEYWORDS="~amd64 ~x86"
32 -IUSE=""
33
34 RDEPEND="
35 dev-libs/openssl:0=
36 @@ -22,9 +23,15 @@ DEPEND="${RDEPEND}
37 S="${WORKDIR}/stunserver"
38
39 src_compile() {
40 + tc-export AR CXX
41 +
42 emake T=""
43 }
44
45 +src_test() {
46 + ./stuntestcode || die
47 +}
48 +
49 src_install() {
50 dobin stunclient
51 dosbin stunserver
52 @@ -32,7 +39,3 @@ src_install() {
53 newinitd "${FILESDIR}/${PN}.initd" ${PN}
54 newconfd "${FILESDIR}/${PN}.confd" ${PN}
55 }
56 -
57 -src_test() {
58 - ./stuntestcode
59 -}