blob: 49ffcec432ab803c9911844b49b20329dc037049 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_misdn/asterisk-chan_misdn-0.3.0.ebuild,v 1.1 2006/04/08 17:34:00 genstef Exp $
MY_PN=${PN/asterisk-}
DESCRIPTION="Asterisk channel plugin for mISDN"
HOMEPAGE="http://www.beronet.com/"
SRC_URI="http://www.beronet.com/downloads/chan_misdn/releases/V${PV:0:3}/${MY_PN}-${PV/_/-}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=net-dialup/misdnuser-0.1_pre20060307
>=net-misc/asterisk-1.2"
S=${WORKDIR}/${MY_PN}
src_unpack() {
unpack ${A}
cd ${S}
sed -ir "s:.*MISDNUSERLIB.*::" Makefile || die "sed failed"
}
src_install() {
exeinto /usr/lib/asterisk/modules
doexe chan_misdn.so
insinto /etc/asterisk
doins misdn.conf
dodoc README README.misdn
}
|