diff options
Diffstat (limited to 'net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild')
-rw-r--r-- | net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild b/net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild new file mode 100644 index 000000000000..4d8009ed9fe1 --- /dev/null +++ b/net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-sounds/asterisk-sounds-1.2.1.ebuild,v 1.1 2006/02/28 02:45:33 stkn Exp $ + +inherit eutils + +IUSE="" + +MY_P="${P/_/-}" + +DESCRIPTION="Additional sounds for Asterisk" +HOMEPAGE="http://www.asterisk.org/" +SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc ~hppa ~amd64 ~ppc" + +DEPEND=">=net-misc/asterisk-1.2.0" + +S="${WORKDIR}/${MY_P}" + +src_install() { + make DESTDIR=${D} install || die "Make install failed" + + dodoc README.txt sounds-extra.txt + + # fix permissions + if has_version ">=net-misc/asterisk-1.0.5-r2"; then + chown -R asterisk:asterisk ${D}var/lib/asterisk + chmod -R u=rwX,g=rX,o= ${D}var/lib/asterisk + fi +} |