+++ /dev/null
-DESCRIPTION = "DM365 Codecs"
-SECTION = "multimedia"
-LICENSE = "TI"
-
-BASE_SRC_URI = "http://install.source.dir.local"
-SRC_URI = "${BASE_SRC_URI}/dm365_codecs_${PV}.tar.gz"
-
-S = "${WORKDIR}/dm365_codecs_${PV}"
-
-require ti-paths.inc
-
-do_compile() {
- echo "Do nothing"
-}
-
-do_install () {
- # install mapdmaq on target
- install -d ${D}/${installdir}/codecs
-}
-
-do_stage() {
- install -d ${CODEC_INSTALL_DIR}
- cp -pPrf ${S}/* ${CODEC_INSTALL_DIR}
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN} = "${installdir}/codecs"
-INHIBIT_PACKAGE_STRIP = "1"
-INSANE_SKIP_${PN} = True
-
--- /dev/null
+DESCRIPTION = "DM365 Codecs"
+SECTION = "multimedia"
+LICENSE = "TI"
+
+PV = "03_10_00_02"
+
+BASE_SRC_URI = "http://install.source.dir.local"
+SRC_URI = "${BASE_SRC_URI}/dm365_codecs_${PV}.tar.gz;name=dm365codecs \
+ file://mapdmaq"
+
+SRC_URI[dm365codecs.md5sum] = "c6e8715d1a73f43ce4fbcda5c2597a6f"
+SRC_URI[dm365codecs.sha256sum] = "a34320d55cc7abaa8a2f4802db63188b71a15d97a7ca1bebc654be296c030fd9"
+
+S = "${WORKDIR}/dm365_codecs_${PV}"
+
+PROVIDES += "ti-codecs-dm365-server"
+
+require ti-paths.inc
+require ti-staging.inc
+
+do_compile() {
+ echo "Do nothing"
+}
+
+do_install () {
+ install -d ${D}/${installdir}/ti-codecs-server
+ cd ${S}
+
+ install -m 0755 ${WORKDIR}/mapdmaq ${D}/${installdir}/ti-codecs-server
+
+ install -d ${D}${CODEC_INSTALL_DIR_RECIPE}
+ cp -pPrf ${S}/* ${D}${CODEC_INSTALL_DIR_RECIPE}
+}
+
+PACKAGES += "ti-codecs-dm365-server"
+FILES_ti-codecs-dm365-server = "${installdir}/ti-codecs-server/*"
+
+INSANE_SKIP_ti-codecs-dm365-server = True