diff options
Diffstat (limited to 'net-misc/stuntman')
-rw-r--r-- | net-misc/stuntman/stuntman-1.2.16.ebuild | 13 |
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 -} |