/[gentoo-x86]/net-misc/yate/yate-0.8.7.ebuild
Gentoo

Contents of /net-misc/yate/yate-0.8.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Oct 18 20:00:12 2006 UTC (12 years, 11 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
yate -> net-voip

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/yate/yate-0.8.7.ebuild,v 1.6 2006/06/24 01:04:51 cardoe Exp $
4
5 IUSE="h323 postgres zaptel fax qt3 gtk gsm ortp"
6
7 inherit eutils
8
9 DESCRIPTION="YATE - Yet Another Telephony Engine"
10 HOMEPAGE="http://yate.null.ro/"
11 SRC_URI="http://voip.null.ro/tarballs/${P}.tar.gz"
12
13 S=${WORKDIR}/${PN}
14
15 SLOT="0"
16 LICENSE="GPL-2"
17 KEYWORDS="~x86 ~amd64"
18
19 DEPEND="media-sound/sox
20 postgres? ( dev-db/postgresql )
21 zaptel? ( >=net-libs/libpri-1.0.0
22 >=net-misc/zaptel-1.0.0 )
23 h323? ( >=net-libs/openh323-1.13.0 )
24 fax? ( media-libs/spandsp )
25 qt3? ( =x11-libs/qt-3* )
26 gtk? ( <x11-libs/gtk+-2.0.0 )
27 gsm? ( media-sound/gsm )
28 ortp? ( net-libs/ortp )"
29
30 src_unpack() {
31 unpack ${A}
32
33 cd ${S}
34 # patch for gcc3.4
35 epatch ${FILESDIR}/${P}-gcc34.patch
36 }
37
38 src_compile() {
39 econf \
40 $(use_with postgres libpq /usr) \
41 $(use_with fax spandsp /usr) \
42 $(use_with qt3 libqt "${QTDIR}") \
43 $(use_with gtk libgtk) \
44 $(use_with h323 openh323 /usr) \
45 $(use_with h323 pwlib /usr) \
46 $(use_with zaptel libpri) \
47 $(use_with gsm libgsm) \
48 $(use_with ortp libortp /usr) \
49 || die "Configure failed"
50 emake everything || die "Make failed"
51 }
52
53 src_install() {
54 emake DESTDIR=${D} install || die "Make install failed"
55
56 newinitd ${FILESDIR}/yate.rc6 yate
57 newconfd ${FILESDIR}/yate.confd yate
58
59 # install standard docs...
60 dodoc README ChangeLog docs/*
61
62 docinto scripts
63 dodoc scripts/*
64 }

  ViewVC Help
Powered by ViewVC 1.1.20