[oe] Help required to create recipe for FANN library
Elvis Dowson
elvis.dowson at mac.com
Mon Jun 15 07:18:24 UTC 2009
Hi,
Would someone be able to help us create an oe bitbake recipe for the
Fast Artificial Neural Network Library ?
We have created an initial recipe, but the problem is don't know how
to get this recipe to configure and install the library for the
gumstix overo board.
If I look at the logs, nothing got configure or compiled when I look
at the logs in the overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/
libfann-2.0.0-r01/tmp folder.
I've looked at a couple of recipes and it all looks the same, so can't
figure out why this particular library is unable to get configured or
built.
Any help would be much appreciated!
Best regards,
Elvis
# libfann-2.0.0 recipie
SECTION = "libs"
DEFAULT_PREFERENCE = "1"
# Package information
DESCRIPTION = "libfann, Fast Artificial Neural Network Library is a
free open source neural network library, which implements multilayer
artificial neural networks in C with support for both fully connected
and sparsely connected networks."
LICENSE = "BSD"
PN = "libfann"
PV = "2.0.0"
PR = "r01"
SRC_URI = "http://prdownloads.sourceforge.net/fann/fann-${PV}.tar.bz2"
inherit autotools_stage pkgconfig
do_stage () {
oe_libinstall -a -so -C lib libfann ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/fann
install -m 0644 src/include/vorbis/vorbisenc.h \
src/include/vorbis/vorbisfile.h \
src/include/vorbis/codec.h
src/include/compat_time.h \
src/include/config.h \
src/include/doublefann.h \
src/include/fann.h \
src/include/fann_activation.h \
src/include/fann_cascade.h \
src/include/fann_data.h \
src/include/fann_error.h \
src/include/fann_internal.h \
src/include/fann_io.h \
src/include/fann_train.h \
src/include/fixedfann.h \
src/include/floatfann.h ${STAGING_INCDIR}/fann/
install -d ${STAGING_DATADIR}/aclocal
install -m 0644 aclocal.m4 ${STAGING_DATADIR}/aclocal/
}
More information about the Openembedded-devel
mailing list