diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-07-30 18:08:47 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-07-30 18:08:47 +0000 |
commit | ce271961aefecfb404469618c3bfdff9f85f5340 (patch) | |
tree | 5f6cbb64c80d2d57e012331d683abaec3ef2fa91 /net-misc/asterisk-chan_sccp | |
parent | QA: Remove default src_compile (diff) | |
download | historical-ce271961aefecfb404469618c3bfdff9f85f5340.tar.gz historical-ce271961aefecfb404469618c3bfdff9f85f5340.tar.bz2 historical-ce271961aefecfb404469618c3bfdff9f85f5340.zip |
Version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc/asterisk-chan_sccp')
3 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/asterisk-chan_sccp/ChangeLog b/net-misc/asterisk-chan_sccp/ChangeLog index ab5ed5afaec1..ec69c231db89 100644 --- a/net-misc/asterisk-chan_sccp/ChangeLog +++ b/net-misc/asterisk-chan_sccp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/asterisk-chan_sccp # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/ChangeLog,v 1.2 2005/07/29 10:42:10 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/ChangeLog,v 1.3 2005/07/30 18:08:47 stkn Exp $ + +*asterisk-chan_sccp-0.0.20050730 (30 Jul 2005) + + 30 Jul 2005; <stkn@gentoo.org> +asterisk-chan_sccp-0.0.20050730.ebuild: + Version bump. 29 Jul 2005; David Holm <dholm@gentoo.org> asterisk-chan_sccp-0.0.20050725.ebuild: diff --git a/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050730.ebuild b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050730.ebuild new file mode 100644 index 000000000000..c1f6e3e5cfc0 --- /dev/null +++ b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050730.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050730.ebuild,v 1.1 2005/07/30 18:08:47 stkn Exp $ + +inherit eutils + +IUSE="debug" + +MY_P="chan_sccp-${PV/0.0./}" + +DESCRIPTION="SCCP channel plugin for the Asterisk soft PBX" +HOMEPAGE="http://chan-sccp.berlios.de/" +SRC_URI="ftp://ftp.berlios.de/pub/chan-sccp/${MY_P}.tar.bz2" + +S="${WORKDIR}/${MY_P}" + +SLOT="0" +KEYWORDS="~ppc ~x86" +LICENSE="GPL-2" + +DEPEND=">=net-misc/asterisk-1.0.5-r2" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/chan_sccp-20050725-gentoo.diff + + if ! use debug; then + sed -i -e "s:^\(DEBUG=.*\):#\1:" Makefile + fi +} + +src_compile() { + emake -j1 || die +} + +src_install() { + emake INSTALL_PREFIX=${D} install || die + + dodoc conf/* contrib/* + + # fix permissions + if [[ -n "$(egetent group asterisk)" ]]; then + einfo "Fixing permissions..." + chown -R root:asterisk ${D}etc/asterisk + chmod -R u=rwX,g=rX,o= ${D}etc/asterisk + fi +} + +pkg_postinst() { + ewarn "You have to disable asterisk's chan_skinny to use this module!" + einfo "Add \"noload => chan_skinny.so\" to ${ROOT}etc/asterisk/modules.conf" +} diff --git a/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050730 b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050730 new file mode 100644 index 000000000000..158eacc8b2d2 --- /dev/null +++ b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050730 @@ -0,0 +1 @@ +MD5 ffa8777c58af7355d0bf58cd1b3db050 chan_sccp-20050730.tar.bz2 56130 |