matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / asterisk / asterisk-extra-sounds-en-alaw_1.4.7.bb
blob554c71ab3de6e503c89337cc16fda6ea3908ccaa
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-alaw-${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]*.alaw ${D}${localstatedir}/lib/asterisk/sounds/
14 mv ${WORKDIR}/[e-l]*.alaw ${D}${localstatedir}/lib/asterisk/sounds/
15 mv ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/sounds/
16 #install -m 644 ${WORKDIR}/*.alaw ${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] = "ecc50bd2b9b29d8237911272248c5d35"
34 SRC_URI[sha256sum] = "61ff59c7d1a180fbcbec2cf14965ad405fb10d90fc26310848a580bd99a1cf18"