From: Simon Busch Date: Wed, 29 Sep 2010 05:04:44 +0000 (+0200) Subject: palmpre-audio-scripts: add initial version X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a02f6b280f7a9e9d58335d9ac72ec6b65493328;p=openembedded.git palmpre-audio-scripts: add initial version For the palmpre machine some special audio scripts are needed to do audio routing, as it is not possible to do audio routing with common tools used on other machines. Signed-off-by: Simon Busch --- diff --git a/recipes/palmpre/palmpre-audio-scripts_1.0.bb b/recipes/palmpre/palmpre-audio-scripts_1.0.bb new file mode 100644 index 0000000000..48332e73af --- /dev/null +++ b/recipes/palmpre/palmpre-audio-scripts_1.0.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Audio scripts necessary for audio routing on the palmpre machine" +HOMEPAGE = "http://www.palm.com/" +AUTHOR = "Palm Inc." +SECTION = "console/utils" +LICENSE = "Palm" + +PR = "r0" +SRC_URI = "http://downloads.freesmartphone.org/palmpre-audio-scripts_${PV}.tar.bz2" + +SRC_URI[md5sum] = "3e263163203ce66ae5f3a75776971d73" +SRC_URI[sha256sum] = "044bbd9879f6e46b21c675421501f8920a4cab3ed4623259e2a52abecccd114e" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +do_install() { + install -d ${D}${sysconfdir}/audio/scripts + + for script in `ls ${WORKDIR}/*.txt` + do + install -m 0644 "${script}" "${D}${sysconfdir}/audio/scripts" + done +} +