blob: 52b9740d6fabf90081cf0fa96afe0c42bc08d05f (
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
34
35
36
37
38
39
40
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_bluetooth/asterisk-chan_bluetooth-0.0.1_pre20050212.ebuild,v 1.2 2005/05/10 12:09:36 dholm Exp $
inherit eutils
MY_PN="chan_bluetooth"
DESCRIPTION="Asterisk channel plugin for bluetooth HandsFree Profile"
HOMEPAGE="http://www.crazygreek.co.uk/content/chan_bluetooth"
SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=net-wireless/bluez-libs-2.10
>=net-misc/asterisk-1.0.5-r1"
S=${WORKDIR}/${MY_PN}
src_unpack() {
unpack ${A}
cd ${S}
# apply asterisk-config patch
epatch ${FILESDIR}/${MY_PN}-0.0.0-astcfg.diff
}
src_compile() {
emake -j1 || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die
dodoc README TODO ChangeLog
}
|