Mercurial > hg > portage
annotate net-voip/belle-sip/belle-sip-1.6.1.ebuild @ 508:eca2d2f85dc5
newer ebuild for bogofilter
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 22 Mar 2020 03:01:04 +0100 |
parents | 7e560a7c788b |
children |
rev | line source |
---|---|
445
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 # Copyright 1999-2017 Gentoo Foundation |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # Distributed under the terms of the GNU General Public License v2 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 EAPI=6 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 inherit autotools eutils flag-o-matic |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 DESCRIPTION="C object oriented SIP Stack." |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip/overview" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 SRC_URI="http://www.linphone.org/releases/sources/${PN}/${P}.tar.gz" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 LICENSE="GPL-2" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 KEYWORDS="~amd64 ~x86" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 SLOT="0" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 IUSE="debug examples test +tls -tunnel +zlib" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 REQUIRED_USE="" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 DEPEND="${RDEPEND} |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 dev-java/antlr:3 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 dev-libs/antlr-c |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 net-libs/bctoolbox |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 dev-util/intltool |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 sys-devel/libtool |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 virtual/pkgconfig |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 test? ( >=dev-util/cunit-2.1_p3[ncurses] )" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 src_prepare() { |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 default |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 sed -i -e 's,-Werror,,' configure.ac || die |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 eautoreconf |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 } |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 src_configure() { |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 local myeconfargs=( |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 $(use_enable debug) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 $(use_enable tls) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 $(use_enable tunnel) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 $(use_enable test tests) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 $(use_enable zlib) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 ) |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 econf "${myeconfargs[@]}" |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 } |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
47 src_test() { |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
48 default |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
49 test -d tester || die |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
50 emake -C tester test |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
51 } |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
52 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
53 src_install() { |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
54 default |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
55 prune_libtool_files |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
56 |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
57 if use examples; then |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
58 insinto /usr/share/doc/${PF}/examples |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
59 doins tester/*.c |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
60 fi |
7e560a7c788b
add the necessary ebuilds to make blink work
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
61 } |