blob: 8003e54129707027f46c1e4102bb56f4946ed147 (
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
41
42
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libunicall/libunicall-0.0.6_pre1.ebuild,v 1.4 2009/07/23 19:35:01 volkmar Exp $
EAPI="2"
inherit eutils autotools
DESCRIPTION="An abstration layer for telephony signalling"
HOMEPAGE="http://www.soft-switch.org/"
SRC_URI="http://www.soft-switch.org/downloads/unicall/${PN}-${PV/_}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=media-libs/audiofile-0.2.6-r1
>=media-libs/spandsp-0.0.6_pre3
>=media-libs/tiff-3.8.2-r2"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-${PV/_pre*}
src_prepare() {
# do not compile test program
sed -i -e "/testcall/d" Makefile.am || die "sed failed"
epatch "${FILESDIR}/${P}-expose-internal-headers.patch"
epatch "${FILESDIR}/${P}--as-needed.2.patch"
eautoreconf
}
src_compile() {
# bug #277783
emake -j1 || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README || die "dodoc failed"
}
|