summaryrefslogtreecommitdiff
blob: 2a11e332040d30435ab26bcf690fa6e4185197c0 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild,v 1.3 2004/06/24 23:35:05 agriffis Exp $

IUSE=""

inherit eutils

DESCRIPTION="H.323 Channel plugin for the Asterisk soft PBX"
HOMEPAGE="http://www.inaccessnetworks.com/projects/asterisk-oh323/"
SRC_URI="http://www.inaccessnetworks.com/projects/asterisk-oh323/download/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND=">=dev-libs/pwlib-1.5.2-r2
	>=net-libs/openh323-1.12.2-r2
	>=net-misc/asterisk-0.5.0
	!>=net-libs/openh323-1.13.0"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch ${FILESDIR}/${P}-Makefile.patch
	epatch ${FILESDIR}/${P}-asterisk-driver-Makefile.patch
}

src_compile() {
	# NOTRACE=1 is required (atm)
	# plugin won't work if this isn't set!
	make NOTRACE=1 || die
}

src_install() {
	make DESTDIR=${D} install || die
}