Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[openembedded.git] / recipes / asterisk / asterisk-moh-freeplay-gsm_0.0.0.bb
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"
7
8 SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-moh-freeplay-gsm.tar.gz"
9
10 do_install() {
11         install -d ${D}${localstatedir}/lib/asterisk/moh
12         install -m 644 ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/moh/
13         install -m 644 ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/
14 }
15
16 pkg_postinst_prepend() {
17         chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/moh/
18 }
19
20