Hi everybody!

I am recoding my babiloo-efl [1] application in C [2].
Now I'm facing a problem with the bitbake recipe since I added a new
custom library in my project.
The problem is in the bitbake because the debian package works well.
This is my bb

****
DESCRIPTION = "EstarDict is a offline dictionary reader"
HOMEPAGE = "http://www.vaudano.eu/";
AUTHOR = "Luca Vaudano"
LICENSE = "GPLv3"
SECTION = "e/apps"
DEPENDS = "libtool-cross elementary libconfig"

PV = "0.1"
PR = "r40"

SRC_URI = 
"http://www.vaudano.eu/projects/estardict/estardict-${PV}_${PR}.tar.gz;name=tarball";
SRC_URI[tarball.md5sum] = "2eb7b60346337afefb5ee028ce181a3c"
SRC_URI[tarball.sha256sum] =
"e15ddc2860429fefadc632b452eec4a599d378f4690b63de5ba84e3b42a71ad3"

inherit autotools

S = "${WORKDIR}"

do_stage () {
        oe_libinstall -a -so libestardictengine ${STAGING_LIBDIR}
        install -m 0644 src/estardict-engine.h ${STAGING_INCDIR}
}

do_install() {
        install -d "${D}${bindir}"
        install -m 0755 "${S}/src/estardict" "${D}${bindir}/"
        install -d "${D}${datadir}/estardict"
        cp -a "${S}/images" "${D}${datadir}/estardict/"
        mkdir -p "${D}/${datadir}/pixmaps"
        install -m 0644 "${S}/images/micro/estardict.png" 
"${D}/${datadir}/pixmaps"
        mkdir -p "${D}/${datadir}/applications"
        install -m 0644 "${S}/resources/estardict.desktop"
"${D}/${datadir}/applications"
        oe_libinstall -a -so libestardictengine ${STAGING_LIBDIR}
}
****

When I launch the bitbake command, everything goes smoothly, but the
main program in
the ipk [3] contains a script file instead of a binary file.
The script file starts with this comment:

****
#! /bin/sh

# estardict - temporary wrapper script for .libs/estardict
# Generated by ltmain.sh (GNU libtool) 2.2.6
#
# The estardict program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.
****

Any hints?

Thanks in advance!
Luca

[1] http://babiloo-project.org/wiki/index.php/Babiloo:Neo
[2] http://bazaar.launchpad.net/~vaudano/estardict/trunk/files/40
[3] http://www.vaudano.eu/projects/estardict/estardict_0.1-r40.4_armv4t.ipk
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to