summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-31 09:41:50 +0000
committerSam James <sam@gentoo.org>2021-10-31 09:41:50 +0000
commita689dc27e45ceca1d5a00b8f40818ca16f0496a5 (patch)
tree5841e0f3cf2ebf69890e426687e4001046a4543c /net-misc/stuntman
parentdev-libs/hiredis: drop 1.0.1-r1 (diff)
downloadgentoo-a689dc27e45ceca1d5a00b8f40818ca16f0496a5.tar.gz
gentoo-a689dc27e45ceca1d5a00b8f40818ca16f0496a5.tar.bz2
gentoo-a689dc27e45ceca1d5a00b8f40818ca16f0496a5.zip
net-misc/stuntman: respect AR, CXX
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/stuntman')
-rw-r--r--net-misc/stuntman/stuntman-1.2.16.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/net-misc/stuntman/stuntman-1.2.16.ebuild b/net-misc/stuntman/stuntman-1.2.16.ebuild
index ceea617f4d76..6cf500907066 100644
--- a/net-misc/stuntman/stuntman-1.2.16.ebuild
+++ b/net-misc/stuntman/stuntman-1.2.16.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="Open source implementation of the STUN protocol"
HOMEPAGE="http://www.stunprotocol.org"
SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
@@ -10,7 +12,6 @@ SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
dev-libs/openssl:0=
@@ -22,9 +23,15 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/stunserver"
src_compile() {
+ tc-export AR CXX
+
emake T=""
}
+src_test() {
+ ./stuntestcode || die
+}
+
src_install() {
dobin stunclient
dosbin stunserver
@@ -32,7 +39,3 @@ src_install() {
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
}
-
-src_test() {
- ./stuntestcode
-}