blob: b0b12c5b096e07ff748ab67b39e59badf5274fd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/elianna-pack/elianna-pack-1.0.ebuild,v 1.4 2007/01/06 16:38:09 drizzt Exp $
DESCRIPTION="Argentinean spanish sounds for asterisk"
HOMEPAGE="http://www.ip-flow.com.ar/elianna_pack.html"
SRC_URI="http://www.ip-flow.com.ar/downloads/elianna-pack_v1.0.tar.gz"
S="${WORKDIR}/${PN}_v${PV}"
LICENSE="CCPL-Attribution-NonCommercial-NoDerivs-2.5"
SLOT="0"
KEYWORDS="~sparc ~x86"
IUSE=""
DEPEND=">=net-misc/asterisk-1.2.0"
src_install() {
dodoc LICENCIA.txt README.txt
insinto /var/lib/asterisk/sounds/ar
doins *.gsm
insinto /var/lib/asterisk/sounds/digits/ar
doins digits/*.gsm
insinto /var/lib/asterisk/sounds/letters/ar
doins letters/*.gsm
# fix permissions
einfo "Fixing permissions"
chown -R asterisk:asterisk ${D}/var/lib/asterisk
chmod -R u=rwX,g=rX,o= ${D}/var/lib/asterisk
}
pkg_postinst() {
elog "Remember to enable this language pack via language=ar"
elog "entries in the corresponding /etc/asterisk/*.conf files"
}
|