Diff stuntman-1.2.15 with a stuntman-1.2.16
/usr/portage/net-misc/stuntman/stuntman-1.2.16.ebuild 2023-10-09 14:52:34.708368482 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit toolchain-funcs |
|
7 | ||
6 | 8 |
DESCRIPTION="Open source implementation of the STUN protocol" |
7 | 9 |
HOMEPAGE="http://www.stunprotocol.org" |
8 | 10 |
SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz" |
... | ... | |
10 | 12 |
LICENSE="Apache-2.0" |
11 | 13 |
SLOT="0" |
12 | 14 |
KEYWORDS="~amd64 ~x86" |
13 |
IUSE="" |
|
14 | 15 | |
15 | 16 |
RDEPEND=" |
16 | 17 |
dev-libs/openssl:0= |
... | ... | |
22 | 23 |
S="${WORKDIR}/stunserver" |
23 | 24 | |
24 | 25 |
src_compile() { |
26 |
tc-export AR CXX |
|
27 | ||
25 | 28 |
emake T="" |
26 | 29 |
} |
27 | 30 | |
31 |
src_test() { |
|
32 |
./stuntestcode || die |
|
33 |
} |
|
34 | ||
28 | 35 |
src_install() { |
29 | 36 |
dobin stunclient |
30 | 37 |
dosbin stunserver |
... | ... | |
32 | 39 |
newinitd "${FILESDIR}/${PN}.initd" ${PN} |
33 | 40 |
newconfd "${FILESDIR}/${PN}.confd" ${PN} |
34 | 41 |
} |
35 | ||
36 |
src_test() { |
|
37 |
./stuntestcode |
|
38 |
} |