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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Aug 27 21:07:49 2005 UTC (14 years ago) by stkn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removing old 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.3.ebuild,v 1.4 2005/08/27 20:22:26 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.5-r1
23 !>=net-misc/asterisk-1.1.0"
24
25 S=${WORKDIR}/${MY_PN}
26
27 src_unpack() {
28 unpack ${A}
29
30 cd ${S}
31 # use asterisk-config...
32 epatch ${FILESDIR}/${MY_PN}-${PV}-astcfg.diff
33 }
34
35 src_compile() {
36 emake -j1 || die "emake failed"
37 }
38
39 src_install() {
40 make DESTDIR=${D} install || die
41
42 dodoc README ldap.conf
43
44 # fix permissions
45 if [[ -n "$(egetent group asterisk)" ]]; then
46 chown -R root:asterisk ${D}etc/asterisk
47 chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20