/[gentoo-x86]/net-misc/lcr/lcr-9999.ebuild
Gentoo

Contents of /net-misc/lcr/lcr-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 29 01:24:56 2014 UTC (5 years, 8 months ago) by zx2c4
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
We now have osmocombb in the tree.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/lcr/lcr-9999.ebuild,v 1.2 2014/04/27 20:52:53 zx2c4 Exp $
4
5 EAPI=5
6
7 inherit git-2 autotools
8
9 DESCRIPTION="Linux Call Router"
10 HOMEPAGE="http://isdn.eversberg.eu/"
11 EGIT_REPO_URI="git://git.misdn.eu/lcr.git"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="asterisk +ssl +gsm-bs +gsm-ms ss5 +sip gsmhr misdn"
17
18 DEPEND="
19 media-libs/opencore-amr
20 asterisk? ( net-misc/asterisk )
21 ssl? ( dev-libs/openssl )
22 gsm-bs? ( net-wireless/openbsc )
23 sip? ( net-libs/sofia-sip )
24 gsm-ms? ( net-wireless/osmocom-bb )
25 "
26 #mdisn? ( net-misc/misdn )
27 RDEPEND="${DEPEND}"
28
29 src_prepare() {
30 eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 $(use_with asterisk) \
36 $(use_with ssl) \
37 $(use_with gsm-bs) \
38 $(use_with gsm-ms) \
39 $(use_with ss5) \
40 $(use_with sip) \
41 $(use_with misdn) \
42 $(use_enable gsmhr)
43 }
44
45 src_compile() {
46 emake -j1
47 }
48
49 pkg_postinst() {
50 use gsmhr || return
51 ewarn "You have enabled the gsmhr use flag, for the GSM half-rate"
52 ewarn "codec. This is strongly discouraged, except for testing,"
53 ewarn "because of extremely high CPU usage."
54 }

  ViewVC Help
Powered by ViewVC 1.1.20