summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-06-25 09:53:34 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-06-25 09:53:34 +0000
commit1d82923655bc7f311bad68f307695e795c55225f (patch)
tree953754b403ae3a06177fe04d0121c55a51725297 /net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild
parentAdded to ~ppc. (diff)
downloadgentoo-2-1d82923655bc7f311bad68f307695e795c55225f.tar.gz
gentoo-2-1d82923655bc7f311bad68f307695e795c55225f.tar.bz2
gentoo-2-1d82923655bc7f311bad68f307695e795c55225f.zip
Version bump and added non-root permission fixes.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild')
-rw-r--r--net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild b/net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild
new file mode 100644
index 000000000000..d74d079b1fd7
--- /dev/null
+++ b/net-misc/asterisk-sounds/asterisk-sounds-1.0.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2005 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.0.8.ebuild,v 1.1 2005/06/25 09:53:34 stkn Exp $
+
+IUSE=""
+
+DESCRIPTION="Additional sounds for Asterisk"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="ftp://ftp.asterisk.org/pub/telephony/asterisk/${P}.tar.gz"
+
+S=${WORKDIR}/${P}
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~hppa ~amd64 ~ppc"
+
+DEPEND="net-misc/asterisk"
+
+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
+}