diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-02-21 01:32:39 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-02-21 01:32:39 +0000 |
commit | b9ce6758ee172872b7d70cd946f1d49e7f66f7f3 (patch) | |
tree | f2b9226af113b952cd7020d84ba678c2f473f949 /net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild | |
parent | Add ~amd64. (diff) | |
download | gentoo-2-b9ce6758ee172872b7d70cd946f1d49e7f66f7f3.tar.gz gentoo-2-b9ce6758ee172872b7d70cd946f1d49e7f66f7f3.tar.bz2 gentoo-2-b9ce6758ee172872b7d70cd946f1d49e7f66f7f3.zip |
Initial import
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild')
-rw-r--r-- | net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild new file mode 100644 index 000000000000..476bdc50537e --- /dev/null +++ b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild @@ -0,0 +1,50 @@ +# 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_capi/asterisk-chan_capi-0.3.5.ebuild,v 1.1 2005/02/21 01:32:39 stkn Exp $ + +inherit eutils + +MY_PN="chan_capi" + +DESCRIPTION="CAPI2.0 channel module for Asterisk" +HOMEPAGE="http://www.junghanns.net/asterisk/" +SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_PN}.${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND=">=net-misc/asterisk-1.0.5-r1 + net-dialup/capi4k-utils" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${MY_PN}-${PV}-gentoo.diff +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make INSTALL_PREFIX=${D} install config || die "make install failed" + + dodoc INSTALL LICENSE README capi.conf +} + +pkg_postinst() { + einfo "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:" + einfo "" + einfo "load => chan_capi.so" + einfo "" + einfo "and in the global section:" + einfo "chan_capi.so=yes" + einfo "" + einfo "(see /usr/share/doc/${PF} for more information)" +} |