[oe] Patch for libfann-2.0.0 recipe

Elvis Dowson elvis.dowson at mac.com
Thu Jun 18 16:05:55 UTC 2009


Hi Rolf,

On Jun 17, 2009, at 8:43 AM, Rolf Leggewie wrote:

> Can you please take a look at http://wiki.openembedded.net/index.php/Styleguide 
>  and reorder the fields accordingly?  I think there is also a script  
> in the contrib directory to help with this.

Here is the modified recipe: recipes/libfann/libfann-2.0.0.bb

DESCRIPTION = "Fast Artificial Neural Network Library"
HOMEPAGE = "http://leenissen.dk/fann/"
SECTION = "libs"
LICENSE = "BSD"
SRCDATE = "20090618"
PV = "2.0.0"
PR = "r01"

SRC_URI = "http://prdownloads.sourceforge.net/fann/fann-${PV}.tar.bz2"

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

inherit autotools pkgconfig

do_stage () {
	oe_libinstall -a -so -C src libfann ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/fann
	(cd ${S}/src/include; cp compat_time.h config.h doublefann.h fann.h  
fann_activation.h fann_cascade.h fann_data.h fann_error.h  
fann_internal.h fann_io.h fann_train.h fixedfann.h floatfann.h $ 
{STAGING_INCDIR}/fann/)
	install -m 0644 ${S}/aclocal.m4 ${STAGING_DATADIR}/aclocal/
}


Best regards,

Elvis




More information about the Openembedded-devel mailing list