blob: 37c15cc7b0250db83b70fc63c18a7826d4a8f19c (
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_rc23.ebuild,v 1.1 2006/02/28 00:17:39 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}/candidates/${MY_PN}-${PV/_/-}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=net-dialup/misdnuser-0.1_pre20051026
>=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
}
|