[oe] Help required to create recipe for FANN library

Philip Balister philip at balister.org
Mon Jun 15 15:16:47 UTC 2009


Elvis Dowson wrote:
> Hi Koen,
>        
> On Jun 15, 2009, at 1:45 PM, Koen Kooi wrote:
> 
>> On 15-06-09 09:18, Elvis Dowson wrote:
>>
>>> 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/
>>> }
>>
>> Why are you using autotools_stage if you're not going to use its 
>> staging method?
>>
> 
> I don't know these command. Could you help me correct this recipe?

The "inherit autotools_stage" provides the do_stage method. Remove the 
do_stage method and see what happens.

Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090615/9925c259/attachment-0002.bin>


More information about the Openembedded-devel mailing list