From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Patch for libfann-2.0.0 recipe
Date: Tue, 16 Jun 2009 14:38:17 -0400 [thread overview]
Message-ID: <4A37E699.6050408@balister.org> (raw)
In-Reply-To: <h18o6n$oos$2@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2969 bytes --]
Koen Kooi wrote:
> On 16-06-09 19:14, Elvis Dowson wrote:
>> Hi,
>> I'm attaching a patch for the libfann-2.0.0 recipe for inclusion into
>> the oe repository.
>>
>> Best regards,
>>
>> Elvis
>>
>> From edb273d68849fd968f83a0bf59efba120b578fa3 Mon Sep 17 00:00:00 2001
>> From: Elvis Dowson <elvis.dowson@gmail.com>
>> Date: Tue, 16 Jun 2009 21:12:52 +0400
>> Subject: [PATCH] Added libfann-2.0.0 recipe
>>
>> ---
>> conf/checksums.ini | 4 ++++
>> recipes/libfann/libfann_2.0.0.bb | 23 +++++++++++++++++++++++
>> 2 files changed, 27 insertions(+), 0 deletions(-)
>> create mode 100644 recipes/libfann/libfann_2.0.0.bb
>>
>> diff --git a/conf/checksums.ini b/conf/checksums.ini
>> index 37d55c7..7c38ea9 100644
>> --- a/conf/checksums.ini
>> +++ b/conf/checksums.ini
>> @@ -286,6 +286,10 @@
>> sha256=1f8504c7f08d2d59c71a70915fc834a285b99587444ee33e23ee3f135c071da0
>> md5=a8cf945d09c6458cb27228218e9a2f45
>> sha256=8416e162d6fc921f14a61c8905e9f9a28dc25e67e1c71b75574360a13f0c28c7
>>
>> +[http://prdownloads.sourceforge.net/fann/fann-2.0.0.tar.bz2]
>> +md5=4224efa533265dcf39237667973d0e20
>> +sha256=762a1313a9b935300cb66ebf052d469d04823ca721fe6dd2a49c01e13e8ab30a
>> +
>> [http://downloads.sourceforge.net/fordiac/FORTE-0.3.5.zip]
>> md5=d207d3b389ee9f2702df095681459f99
>> sha256=2b87b331e931db2db07408c1b07bdb557227e0c16f8fe37f72e40b08fca0a09c
>> diff --git a/recipes/libfann/libfann_2.0.0.bb
>> b/recipes/libfann/libfann_2.0.0.bb
>> new file mode 100644
>> index 0000000..d3166ec
>> --- /dev/null
>> +++ b/recipes/libfann/libfann_2.0.0.bb
>> @@ -0,0 +1,23 @@
>> +# 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 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/
>> +}
>
> Can't you use autotools_stage to stage all this? And if not, don't use
> 'cp', but 'install'.
From the emails, it seems like the code that uses the headers expects
them to be in the subdir. It would be worth looking at where they get
installed on something like Debian or Fedora to be consistent.
Philip
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
next prev parent reply other threads:[~2009-06-16 18:48 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 17:14 Patch for libfann-2.0.0 recipe Elvis Dowson
2009-06-16 18:27 ` Koen Kooi
2009-06-16 18:38 ` Philip Balister [this message]
2009-06-16 19:00 ` Elvis Dowson
2009-06-16 19:59 ` Philip Balister
2009-06-16 21:36 ` Koen Kooi
2009-06-17 4:43 ` Rolf Leggewie
2009-06-18 16:05 ` Elvis Dowson
2009-06-18 16:48 ` Koen Kooi
2009-06-18 16:52 ` Otavio Salvador
2009-06-18 17:52 ` Koen Kooi
2009-06-18 18:11 ` Philip Balister
2009-06-18 18:24 ` Koen Kooi
2009-06-18 23:05 ` Tom Rini
2009-06-19 1:28 ` Otavio Salvador
2009-06-19 8:06 ` Koen Kooi
2009-06-19 17:47 ` Tom Rini
2009-06-19 17:53 ` Koen Kooi
2009-06-18 18:09 ` Philip Balister
2009-06-18 18:14 ` Koen Kooi
2009-06-18 18:36 ` Elvis Dowson
2009-06-18 18:56 ` Philip Balister
2009-06-19 13:37 ` Philip Balister
2009-06-19 13:52 ` Elvis Dowson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A37E699.6050408@balister.org \
--to=philip@balister.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.