megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
comparison net-misc/asterisk-softmodem/asterisk-softmodem-20160525.ebuild @ 201:cbb5cf71be86
adding net-misc/asterisk-softmodem
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Thu, 27 Apr 2017 23:17:47 +0200 |
parents | |
children | 32efd9258ce5 |
comparison
equal
deleted
inserted
replaced
200:69881ed76bc6 | 201:cbb5cf71be86 |
---|---|
1 # Copyright 1999-2017 Gentoo Foundation | |
2 # Distributed under the terms of the GNU General Public License v2 | |
3 | |
4 # based on net-misc/asterisk-app_rxfax ebuild provided by mva and luke-jr overlays | |
5 | |
6 EAPI=6 | |
7 | |
8 inherit git-r3 | |
9 | |
10 DESCRIPTION="Asterisk application providing a V.21/V.22/V.23 compatible soft-modem for inbound connections" | |
11 HOMEPAGE="https://github.com/proquar/asterisk-Softmodem" | |
12 | |
13 LICENSE="GPL-2" | |
14 SLOT="0" | |
15 KEYWORDS="~amd64" | |
16 | |
17 IUSE="" | |
18 | |
19 DEPEND="media-libs/spandsp | |
20 >=net-misc/asterisk-13" | |
21 | |
22 EGIT_REPO_URI="https://github.com/proquar/asterisk-Softmodem.git" | |
23 EGIT_COMMIT="14e5b4f9ebbd8dcbf107a397e26b5385771bdff7" | |
24 | |
25 MyPN="app_softmodem" | |
26 | |
27 src_compile() { | |
28 gcc $CFLAGS -shared -fPIC -lspandsp -o "${MyPN}".{so,c} || die compile | |
29 } | |
30 | |
31 src_install() { | |
32 exeinto "/usr/lib/asterisk/modules" | |
33 doexe "${MyPN}.so" || die install | |
34 } |