diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-17 13:15:58 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-17 13:15:58 +0000 |
commit | 8c4f6b4c2f44cf59e3c44d99e5e2cf1295ef4579 (patch) | |
tree | f1b7588cfb3054ddb707df4c151693e5ac751fde /packages/asterisk | |
parent | a96a64e4975b8e3100904f902bd3b24f521210fb (diff) |
asterisk: Move sound subpackages where they belong.
Diffstat (limited to 'packages/asterisk')
12 files changed, 418 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-core-sounds-en-alaw_1.4.7.bb b/packages/asterisk/asterisk-core-sounds-en-alaw_1.4.7.bb new file mode 100644 index 0000000000..f1b3d12cd7 --- /dev/null +++ b/packages/asterisk/asterisk-core-sounds-en-alaw_1.4.7.bb @@ -0,0 +1,46 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-alaw-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + #install -m 644 ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/CREDITS* ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/core-sounds-en.txt ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/dictate + #install -m 644 ${WORKDIR}/dictate/* ${D}${localstatedir}/lib/asterisk/sounds/dictate/ + mv ${WORKDIR}/dictate ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/digits + #install -m 644 ${WORKDIR}/digits/* ${D}${localstatedir}/lib/asterisk/sounds/digits/ + mv ${WORKDIR}/digits ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/followme + #install -m 644 ${WORKDIR}/followme/* ${D}${localstatedir}/lib/asterisk/sounds/followme/ + mv ${WORKDIR}/followme ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/letters + #install -m 644 ${WORKDIR}/letters/* ${D}${localstatedir}/lib/asterisk/sounds/letters/ + mv ${WORKDIR}/letters ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/silence + #install -m 644 ${WORKDIR}/silence/* ${D}${localstatedir}/lib/asterisk/sounds/silence/ + mv ${WORKDIR}/silence ${D}${localstatedir}/lib/asterisk/sounds/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-core-sounds-en-g729_1.4.7.bb b/packages/asterisk/asterisk-core-sounds-en-g729_1.4.7.bb new file mode 100644 index 0000000000..205c8ff067 --- /dev/null +++ b/packages/asterisk/asterisk-core-sounds-en-g729_1.4.7.bb @@ -0,0 +1,46 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-g729-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + #install -m 644 ${WORKDIR}/*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/CREDITS* ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/core-sounds-en.txt ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/dictate + #install -m 644 ${WORKDIR}/dictate/* ${D}${localstatedir}/lib/asterisk/sounds/dictate/ + mv ${WORKDIR}/dictate ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/digits + #install -m 644 ${WORKDIR}/digits/* ${D}${localstatedir}/lib/asterisk/sounds/digits/ + mv ${WORKDIR}/digits ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/followme + #install -m 644 ${WORKDIR}/followme/* ${D}${localstatedir}/lib/asterisk/sounds/followme/ + mv ${WORKDIR}/followme ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/letters + #install -m 644 ${WORKDIR}/letters/* ${D}${localstatedir}/lib/asterisk/sounds/letters/ + mv ${WORKDIR}/letters ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/silence + #install -m 644 ${WORKDIR}/silence/* ${D}${localstatedir}/lib/asterisk/sounds/silence/ + mv ${WORKDIR}/silence ${D}${localstatedir}/lib/asterisk/sounds/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-core-sounds-en-gsm_1.4.7.bb b/packages/asterisk/asterisk-core-sounds-en-gsm_1.4.7.bb new file mode 100644 index 0000000000..2a46c74f84 --- /dev/null +++ b/packages/asterisk/asterisk-core-sounds-en-gsm_1.4.7.bb @@ -0,0 +1,48 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + #install -m 644 ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/CREDITS* ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/core-sounds-en.txt ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/CREDITS* ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/core-sounds-en.txt ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/dictate + #install -m 644 ${WORKDIR}/dictate/* ${D}${localstatedir}/lib/asterisk/sounds/dictate/ + mv ${WORKDIR}/dictate ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/digits + #install -m 644 ${WORKDIR}/digits/* ${D}${localstatedir}/lib/asterisk/sounds/digits/ + mv ${WORKDIR}/digits ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/followme + #install -m 644 ${WORKDIR}/followme/* ${D}${localstatedir}/lib/asterisk/sounds/followme/ + mv ${WORKDIR}/followme ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/letters + #install -m 644 ${WORKDIR}/letters/* ${D}${localstatedir}/lib/asterisk/sounds/letters/ + mv ${WORKDIR}/letters ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/silence + #install -m 644 ${WORKDIR}/silence/* ${D}${localstatedir}/lib/asterisk/sounds/silence/ + mv ${WORKDIR}/silence ${D}${localstatedir}/lib/asterisk/sounds/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-core-sounds-en-ulaw_1.4.7.bb b/packages/asterisk/asterisk-core-sounds-en-ulaw_1.4.7.bb new file mode 100644 index 0000000000..c29ae60f99 --- /dev/null +++ b/packages/asterisk/asterisk-core-sounds-en-ulaw_1.4.7.bb @@ -0,0 +1,46 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-ulaw-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + #install -m 644 ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/CREDITS* ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/core-sounds-en.txt ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/dictate + #install -m 644 ${WORKDIR}/dictate/* ${D}${localstatedir}/lib/asterisk/sounds/dictate/ + mv ${WORKDIR}/dictate ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/digits + #install -m 644 ${WORKDIR}/digits/* ${D}${localstatedir}/lib/asterisk/sounds/digits/ + mv ${WORKDIR}/digits ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/followme + #install -m 644 ${WORKDIR}/followme/* ${D}${localstatedir}/lib/asterisk/sounds/followme/ + mv ${WORKDIR}/followme ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/letters + #install -m 644 ${WORKDIR}/letters/* ${D}${localstatedir}/lib/asterisk/sounds/letters/ + mv ${WORKDIR}/letters ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/silence + #install -m 644 ${WORKDIR}/silence/* ${D}${localstatedir}/lib/asterisk/sounds/silence/ + mv ${WORKDIR}/silence ${D}${localstatedir}/lib/asterisk/sounds/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-extra-sounds-en-alaw_1.4.6.bb b/packages/asterisk/asterisk-extra-sounds-en-alaw_1.4.6.bb new file mode 100644 index 0000000000..f18d46258f --- /dev/null +++ b/packages/asterisk/asterisk-extra-sounds-en-alaw_1.4.6.bb @@ -0,0 +1,37 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-extra-sounds-en-alaw-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + # HACK: moving the files in chunkes (too many of them) + rm ${WORKDIR}/conf-thereare.alaw + rm ${WORKDIR}/invalid.alaw + mv ${WORKDIR}/[a-d]*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/[e-l]*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/ha + #install -m 644 ${WORKDIR}/ha/* ${D}${localstatedir}/lib/asterisk/sounds/ha/ + mv ${WORKDIR}/ha ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/wx + #install -m 644 ${WORKDIR}/wx/* ${D}${localstatedir}/lib/asterisk/sounds/wx/ + mv ${WORKDIR}/wx ${D}${localstatedir}/lib/asterisk/sounds +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-extra-sounds-en-g729_1.4.6.bb b/packages/asterisk/asterisk-extra-sounds-en-g729_1.4.6.bb new file mode 100644 index 0000000000..48fabbbdc4 --- /dev/null +++ b/packages/asterisk/asterisk-extra-sounds-en-g729_1.4.6.bb @@ -0,0 +1,37 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-extra-sounds-en-g729-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + # HACK: moving the files in chunks (too many files) + rm ${WORKDIR}/conf-thereare.g729 + rm ${WORKDIR}/invalid.g729 + mv ${WORKDIR}/[a-d]*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/[e-l]*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/*.g729 ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/ha + #install -m 644 ${WORKDIR}/ha/* ${D}${localstatedir}/lib/asterisk/sounds/ha/ + mv ${WORKDIR}/ha ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/wx + #install -m 644 ${WORKDIR}/wx/* ${D}${localstatedir}/lib/asterisk/sounds/wx/ + mv ${WORKDIR}/wx ${D}${localstatedir}/lib/asterisk/sounds +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-extra-sounds-en-gsm_1.4.6.bb b/packages/asterisk/asterisk-extra-sounds-en-gsm_1.4.6.bb new file mode 100644 index 0000000000..da463391b1 --- /dev/null +++ b/packages/asterisk/asterisk-extra-sounds-en-gsm_1.4.6.bb @@ -0,0 +1,37 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-extra-sounds-en-gsm-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + # HACK: moving the files in chunks (too many files) + rm ${WORKDIR}/conf-thereare.gsm + rm ${WORKDIR}/invalid.gsm + mv ${WORKDIR}/[a-d]*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/[e-l]*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/ha + #install -m 644 ${WORKDIR}/ha/* ${D}${localstatedir}/lib/asterisk/sounds/ha/ + mv ${WORKDIR}/ha ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/wx + #install -m 644 ${WORKDIR}/wx/* ${D}${localstatedir}/lib/asterisk/sounds/wx/ + mv ${WORKDIR}/wx ${D}${localstatedir}/lib/asterisk/sounds +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-extra-sounds-en-ulaw_1.4.6.bb b/packages/asterisk/asterisk-extra-sounds-en-ulaw_1.4.6.bb new file mode 100644 index 0000000000..6a6f3f5fba --- /dev/null +++ b/packages/asterisk/asterisk-extra-sounds-en-ulaw_1.4.6.bb @@ -0,0 +1,37 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-extra-sounds-en-ulaw-${PV}.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/sounds + # HACK: moving the files in chunkes (too many of them) + rm ${WORKDIR}/conf-thereare.ulaw + rm ${WORKDIR}/invalid.ulaw + mv ${WORKDIR}/[a-d]*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/[e-l]*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + mv ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + #install -m 644 ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/sounds/ + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/ha + #install -m 644 ${WORKDIR}/ha/* ${D}${localstatedir}/lib/asterisk/sounds/ha/ + mv ${WORKDIR}/ha ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/phonetic + #install -m 644 ${WORKDIR}/phonetic/* ${D}${localstatedir}/lib/asterisk/sounds/phonetic/ + mv ${WORKDIR}/phonetic ${D}${localstatedir}/lib/asterisk/sounds + + #install -d ${D}${localstatedir}/lib/asterisk/sounds/wx + #install -m 644 ${WORKDIR}/wx/* ${D}${localstatedir}/lib/asterisk/sounds/wx/ + mv ${WORKDIR}/wx ${D}${localstatedir}/lib/asterisk/sounds +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/sounds/ +} + + diff --git a/packages/asterisk/asterisk-moh-freeplay-alaw_0.0.0.bb b/packages/asterisk/asterisk-moh-freeplay-alaw_0.0.0.bb new file mode 100644 index 0000000000..96c662444e --- /dev/null +++ b/packages/asterisk/asterisk-moh-freeplay-alaw_0.0.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-moh-freeplay-alaw.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/moh + #install -m 644 ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/moh/ + #install -m 644 ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ + mv ${WORKDIR}/*.alaw ${D}${localstatedir}/lib/asterisk/moh/ + mv ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/moh/ +} + + diff --git a/packages/asterisk/asterisk-moh-freeplay-g729_0.0.0.bb b/packages/asterisk/asterisk-moh-freeplay-g729_0.0.0.bb new file mode 100644 index 0000000000..581e6bf84f --- /dev/null +++ b/packages/asterisk/asterisk-moh-freeplay-g729_0.0.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-moh-freeplay-g729.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/moh + install -m 644 ${WORKDIR}/*.g729 ${D}${localstatedir}/lib/asterisk/moh/ + install -m 644 ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/moh/ +} + + diff --git a/packages/asterisk/asterisk-moh-freeplay-gsm_0.0.0.bb b/packages/asterisk/asterisk-moh-freeplay-gsm_0.0.0.bb new file mode 100644 index 0000000000..e45c3eec4e --- /dev/null +++ b/packages/asterisk/asterisk-moh-freeplay-gsm_0.0.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-moh-freeplay-gsm.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/moh + install -m 644 ${WORKDIR}/*.gsm ${D}${localstatedir}/lib/asterisk/moh/ + install -m 644 ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/moh/ +} + + diff --git a/packages/asterisk/asterisk-moh-freeplay-ulaw_0.0.0.bb b/packages/asterisk/asterisk-moh-freeplay-ulaw_0.0.0.bb new file mode 100644 index 0000000000..e0e0293c34 --- /dev/null +++ b/packages/asterisk/asterisk-moh-freeplay-ulaw_0.0.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION="The Asterisk open source software PBX" +HOMEPAGE="http://www.asterisk.org" +SECTION = "voip" +LICENSE="GPL" +#DEPENDS="asterisk" +#PR = "r1" + +SRC_URI="http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-moh-freeplay-ulaw.tar.gz" + +do_install() { + install -d ${D}${localstatedir}/lib/asterisk/moh + #install -m 644 ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/moh/ + #install -m 644 ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ + mv ${WORKDIR}/*.ulaw ${D}${localstatedir}/lib/asterisk/moh/ + mv ${WORKDIR}/LICENSE-* ${D}${localstatedir}/lib/asterisk/moh/ +} + +pkg_postinst_prepend() { + chown -R asterisk:asterisk ${localstatedir}/lib/asterisk/moh/ +} + + |