matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / asterisk / asterisk-extra-sounds-en-ulaw_1.4.7.bb
blob39759757abad94bd337cbf9d752e5f9182121a3d
1 DESCRIPTION="The Asterisk open source software PBX"
2 HOMEPAGE="http://www.asterisk.org"
3 SECTION = "voip"
4 LICENSE="GPL"
5 #DEPENDS="asterisk"
6 PR = "r1"
8 SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-extra-sounds-en-ulaw-${PV}.tar.gz"
10 do_install() {
11 install -d ${D}${localstatedir}/lib/asterisk/sounds
12 # HACK: moving the files in chunkes (too many of them)
13 mv ${WORKDIR}/[a-d]*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/
14 mv ${WORKDIR}/[e-l]*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/
15 mv ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/
16 #install -m 644 ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/
18 #install -d ${D}${localstatedir}/lib/asterisk/sounds/ha
19 #install -m 644 ${WORKDIR}/ha/* ${D}${localstatedir}/lib/asterisk/sounds/ha/
20 mv ${WORKDIR}/ha ${D}${localstatedir}/lib/asterisk/sounds
22 #install -d ${D}${localstatedir}/lib/asterisk/sounds/wx
23 #install -m 644 ${WORKDIR}/wx/* ${D}${localstatedir}/lib/asterisk/sounds/wx/
24 mv ${WORKDIR}/wx ${D}${localstatedir}/lib/asterisk/sounds
27 pkg_postinst_prepend() {
28 chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/
33 SRC_URI[md5sum] = "b8063676b102076321b6d4640b4e6126"
34 SRC_URI[sha256sum] = "94c2ba9290283851ddfba9e7b29c797412538d7a2002599508ce4122ad74c767"