summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/asterisk-sounds-au/asterisk-sounds-au-1.3.ebuild')
-rw-r--r--net-misc/asterisk-sounds-au/asterisk-sounds-au-1.3.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/asterisk-sounds-au/asterisk-sounds-au-1.3.ebuild b/net-misc/asterisk-sounds-au/asterisk-sounds-au-1.3.ebuild
new file mode 100644
index 0000000..a09ba3c
--- /dev/null
+++ b/net-misc/asterisk-sounds-au/asterisk-sounds-au-1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+IUSE=""
+
+MY_PN="OpenVoice-Free"
+
+DESCRIPTION="Australian sounds for Asterisk"
+HOMEPAGE="http://www.openvoice.com.au/"
+SRC_URI="http://www.openvoice.com.au/${MY_PN}-${PV}.tar.gz"
+
+RESTRICT="nomirror"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="net-misc/asterisk"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_install() {
+ dodir /var/lib/asterisk/sounds
+ cp -Rf {digits,au} "${D}"var/lib/asterisk/sounds/
+
+ dodoc *.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
+}