[oe] Help required to create recipe for FANN library

Elvis Dowson elvis.dowson at mac.com
Mon Jun 15 17:31:19 UTC 2009


Hi Leon,

On Jun 15, 2009, at 8:32 PM, Leon Woestenberg wrote:
>>
> Try setting the S variable in the recipe.
>

It worked. I set the S variable wrong. The correct one is

S = "${WORKDIR}/fann-${PV}"

I'm attaching the working recipe below.

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"

S = "${WORKDIR}/fann-${PV}"

inherit autotools_stage pkgconfig




More information about the Openembedded-devel mailing list