/[gentoo-x86]/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050826.ebuild
Gentoo

Contents of /net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050826.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Sep 1 14:44:29 2011 UTC (8 years, 3 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove net-misc/asterisk-chan_sccp from the tree, which has failed to build since Dec 2009. My sincere apologies for the delay.

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050826.ebuild,v 1.5 2011/05/01 00:42:40 halcy0n Exp $
4
5 inherit eutils
6
7 IUSE="debug"
8
9 MY_P="chan_sccp-${PV/0.0./}"
10
11 DESCRIPTION="SCCP channel plugin for the Asterisk soft PBX"
12 HOMEPAGE="http://chan-sccp.berlios.de/"
13 SRC_URI="ftp://ftp.berlios.de/pub/chan-sccp/${MY_P}.tar.bz2"
14
15 S="${WORKDIR}/${MY_P}"
16
17 SLOT="0"
18 KEYWORDS="x86"
19 LICENSE="GPL-2"
20
21 DEPEND=">=net-misc/asterisk-1.0.5-r2"
22
23 src_unpack() {
24 unpack ${A}
25
26 cd "${S}"
27 epatch "${FILESDIR}"/chan_sccp-20050725-gentoo.diff
28
29 if ! use debug; then
30 sed -i -e "s:^\(DEBUG=.*\):#\1:" Makefile
31 fi
32 }
33
34 src_compile() {
35 emake -j1 || die
36 }
37
38 src_install() {
39 emake INSTALL_PREFIX="${D}" install || die
40
41 dodoc conf/* contrib/*
42
43 # fix permissions
44 if [[ -n "$(egetent group asterisk)" ]]; then
45 einfo "Fixing permissions..."
46 chown -R root:asterisk "${D}"etc/asterisk
47 chmod -R u=rwX,g=rX,o= "${D}"etc/asterisk
48 fi
49 }
50
51 pkg_postinst() {
52 ewarn "You have to disable asterisk's chan_skinny to use this module!"
53 elog "Add \"noload => chan_skinny.so\" to ${ROOT}etc/asterisk/modules.conf"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20