1 DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)"
9 git://openpandora.org/pandora-libraries.git;protocol=git;branch=master \
13 SRCREV = "fd9090900d653b51b1d7b335b1224c3b65353773"
19 TARGET_CC_ARCH += "${LDFLAGS}"
20 TARGET_CFLAGS += "-Wall -I./include"
22 INITSCRIPT_NAME = "libpnd-init"
23 INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ."
25 do_compile_prepend() {
35 install -d ${D}${sysconfdir}/pandora/conf/
36 install ${S}/deployment/etc/pandora/conf/apps ${D}${sysconfdir}/pandora/conf/apps
37 install ${S}/deployment/etc/pandora/conf/desktop ${D}${sysconfdir}/pandora/conf/desktop
39 install -d ${D}${libdir}/
40 cp -pP ${S}/deployment/usr/lib/libpnd* ${D}${libdir}/
41 # cp -pP ${S}/deployment/usr/lib/libpnd.so.1.0.1 ${D}${libdir}/libpnd.so.1
42 # cp -pP ${S}/deployment/usr/lib/libpnd.a ${D}${libdir}/libpnd.a
44 install -d ${D}${bindir}/
45 cp -pP ${S}/deployment/usr/bin/pndnotifyd ${D}${bindir}/pndnotifyd
47 install -d ${D}${prefix}/pandora/
48 install -d ${D}${prefix}/pandora/apps/
49 # cp -pP ${S}/deployment/usr/pandora/apps/* ${D}${prefix}/pandora/apps
50 install -d ${D}${prefix}/pandora/scripts/
51 cp -pP ${S}/deployment/usr/pandora/scripts/* ${D}${prefix}/pandora/scripts
53 install -d ${D}${sysconfdir}/init.d/
54 cp -pP ${WORKDIR}/rc.libpnd ${D}${sysconfdir}/init.d/libpnd-init
56 install -d ${D}/home/root/
57 install -d ${D}${prefix}/local/share/applications/
60 FILES_${PN} += "${bindir} ${sbindir} ${prefix}/pandora/*"
61 FILES_${PN}-dev += "${libdir}/libpnd.a"