/[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 - (hide annotations) (download)
Wed Oct 18 20:00:12 2006 UTC (13 years ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
yate -> net-voip

1 cardoe 1.6 # Copyright 1999-2006 Gentoo Foundation
2 stkn 1.1 # Distributed under the terms of the GNU General Public License v2
3 genstef 1.7 # $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 stkn 1.1
5 cardoe 1.6 IUSE="h323 postgres zaptel fax qt3 gtk gsm ortp"
6 stkn 1.1
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 stkn 1.2 KEYWORDS="~x86 ~amd64"
18 stkn 1.1
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 swegener 1.3 fax? ( media-libs/spandsp )
25 cardoe 1.6 qt3? ( =x11-libs/qt-3* )
26 stkn 1.1 gtk? ( <x11-libs/gtk+-2.0.0 )
27     gsm? ( media-sound/gsm )
28     ortp? ( net-libs/ortp )"
29    
30 stkn 1.4 src_unpack() {
31     unpack ${A}
32    
33     cd ${S}
34     # patch for gcc3.4
35     epatch ${FILESDIR}/${P}-gcc34.patch
36     }
37    
38 stkn 1.1 src_compile() {
39 swegener 1.3 econf \
40     $(use_with postgres libpq /usr) \
41     $(use_with fax spandsp /usr) \
42 cardoe 1.6 $(use_with qt3 libqt "${QTDIR}") \
43 swegener 1.3 $(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 stkn 1.1 emake everything || die "Make failed"
51     }
52    
53     src_install() {
54     emake DESTDIR=${D} install || die "Make install failed"
55    
56 swegener 1.3 newinitd ${FILESDIR}/yate.rc6 yate
57     newconfd ${FILESDIR}/yate.confd yate
58 stkn 1.1
59     # install standard docs...
60 swegener 1.3 dodoc README ChangeLog docs/*
61 stkn 1.1
62     docinto scripts
63     dodoc scripts/*
64     }

  ViewVC Help
Powered by ViewVC 1.1.20