/[gentoo-x86]/net-misc/asterisk-res_bonjour/asterisk-res_bonjour-1.0_rc1.ebuild
Gentoo

Contents of /net-misc/asterisk-res_bonjour/asterisk-res_bonjour-1.0_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Sep 1 14:47:06 2011 UTC (6 years, 10 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove net-misc/asterisk-res_bonjour which fails to build against recent Asterisk.

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-res_bonjour/asterisk-res_bonjour-1.0_rc1.ebuild,v 1.3 2010/10/28 10:46:25 ssuominen Exp $
4
5 inherit eutils
6
7 MY_PN="res_bonjour"
8
9 DESCRIPTION="Asterisk resource plugin for Apple Bonjour (aka zeroconf) support"
10 HOMEPAGE="http://www.mezzo.net/asterisk/"
11 SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV/_/}.tgz"
12
13 IUSE=""
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18
19 DEPEND="net-misc/mDNSResponder
20 >=net-misc/asterisk-1.0.7-r1"
21
22 S="${WORKDIR}/${MY_PN}-${PV/_/}"
23
24 src_unpack() {
25 unpack ${A}
26
27 cd "${S}"
28 # use asterisk-config...
29 epatch "${FILESDIR}"/${MY_PN}-1.0_rc1-astcfg.diff
30 }
31
32 src_compile() {
33 emake -j1 || die "emake failed"
34 }
35
36 src_install() {
37 make DESTDIR="${D}" install || die
38
39 dodoc README bonjour.conf.sample
40
41 # fix permissions
42 if [[ -n "$(egetent group asterisk)" ]]; then
43 chown -R root:asterisk "${D}"etc/asterisk
44 chmod -R u=rwX,g=rX,o= "${D}"etc/asterisk
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20