/[gentoo-x86]/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.9.ebuild
Gentoo

Contents of /net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 29 00:45:34 2005 UTC (14 years, 3 months ago) by stkn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
0.9.9 has a memleak, replacing it with new, fixed version
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.9.ebuild,v 1.1 2005/08/27 20:51:13 stkn Exp $
4
5 inherit eutils
6
7 MY_PN="app_ldap"
8
9 DESCRIPTION="Asterisk application plugin to do lookups in a LDAP directory"
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="~x86 ~ppc"
18
19 # depends on iconv support
20 DEPEND="sys-libs/glibc
21 >=net-nds/openldap-2.0.0
22 >=net-misc/asterisk-1.0.7-r1"
23
24 S=${WORKDIR}/${MY_PN}
25
26 src_unpack() {
27 unpack ${A}
28
29 cd ${S}
30 # use asterisk-config...
31 epatch ${FILESDIR}/${MY_PN}-0.9.9-astcfg.diff
32 }
33
34 src_compile() {
35 emake -j1 || die "emake failed"
36 }
37
38 src_install() {
39 make DESTDIR=${D} install || die
40
41 dodoc CHANGES README ldap.conf.sample
42
43 # fix permissions
44 if [[ -n "$(egetent group asterisk)" ]]; then
45 chown -R root:asterisk ${D}etc/asterisk
46 chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20