Hi, I'm trying to set up the whole developing environment, and when time 
comes I'd like my application(s) in the official shr repository.

I've made a vala app and a bitbake file. I've got it compiling fine, but 
I don't understand how bitbake packages the file and what FILES_${PN} 
are for.

As an example I have:
do_install(){
        install -d ${D}${datadir}/applications
        install -m 0644 ${S}/data/elementary-calculator.desktop 
${D}${datadir}/applications/
        install -d ${D}${bindir}
        install -m 0744 ${S}/calc ${D}${bindir}/
}

This almost explanes itself. But this is the only action. Will this be 
how it knows what to put in the ipk?

And what does
FILES_${PN} += "${prefix}/share/pixmaps"
FILES_${PN} += "${prefix}/share/applications"
mean? Why are they there?

I'm almost comfortable enough about my bb file :)


Esben Damgaard
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to