summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild')
-rw-r--r--net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild
index 1056ae7c1a88..dfc13205de78 100644
--- a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild
+++ b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild,v 1.1 2006/05/06 15:03:52 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.4.ebuild,v 1.2 2007/01/06 16:43:26 drizzt Exp $
inherit eutils
@@ -19,13 +19,13 @@ IUSE=""
DEPEND="!=net-misc/asterisk-1.0*
>=net-misc/asterisk-1.2.0"
-S=${WORKDIR}/${MY_PN}-${PV}
+S="${WORKDIR}"/${MY_PN}-${PV}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${MY_PN}-0.9.2-gentoo.diff
+ cd "${S}"
+ epatch "${FILESDIR}"/${MY_PN}-0.9.2-gentoo.diff
}
src_compile() {
@@ -33,22 +33,22 @@ src_compile() {
}
src_install() {
- make INSTALL_PREFIX=${D} install config || die "make install failed"
+ make INSTALL_PREFIX="${D}" install config || die "make install failed"
dodoc README unistim.conf
# 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
+ chown -R root:asterisk "${D}"etc/asterisk
+ chmod -R u=rwX,g=rX,o= "${D}"etc/asterisk
fi
}
pkg_postinst() {
- einfo "For more information about this module:"
- einfo ""
- einfo "http://www.voip-info.org/wiki-Asterisk+UNISTIM+channels"
- einfo ""
- einfo "http://www.voip-info.org/wiki-Nortel+Phones"
+ elog "For more information about this module:"
+ echo
+ elog "http://www.voip-info.org/wiki-Asterisk+UNISTIM+channels"
+ echo
+ elog "http://www.voip-info.org/wiki-Nortel+Phones"
}