Re: [yocto] libtomcrypt libtomfastmath recipe

2016-10-20 Thread Andrea Galbusera
Hi Vivek,

Il 20 ott 2016 1:42 PM, "Vivek Per"  ha scritto:
>
> Hi All,
>
> Thank you very much this recipe worked for me.

If it worked, as already suggested by Ross, please consider posting it to
the mailing list for further review and hopefully for merging into meta-oe
or where it belongs best.

Instructions for contributing can be found at
https://github.com/openembedded/meta-openembedded/blob/master/README and in
READMEs from each layer.

>
> Thanks and Regards,
>
>
> On Thu, Oct 20, 2016 at 3:40 AM, Burton, Ross 
wrote:
>>
>> Please considering posting these recipe into meta-oe or similar,
tomcrypt etc comes up every few months.  And posting a recipe to the list
implies you want review, right? :)
>>
>> On 19 October 2016 at 10:12, Markus Volk  wrote:
>>>
>>> DESCRIPTION = "tomcrypt"
>>> HOMEPAGE = " http://www.libtom.net;
>>> LICENSE = "DWTFYW"
>>
>> Second worst license known to man.  :(
>>>
>>> LIC_FILES_CHKSUM =
"file://${S}/LICENSE;md5=71baacc459522324ef3e2b9e052e8180"
>>
>> These URLs are relative to ${S} so just file://LICENSE works.
>>>
>>> SRC_URI = "git://github.com/libtom/libtomcrypt.git;branch=develop \
>>> "
>>>
>>> SRCREV = "${AUTOREV}"
>>
>> In general it's recommended to use a fixed SHA and then override SRVREV
if you need to for testing/CI/whatever.
>>>
>>> PV = "${SRCPV}"
>>> PR = "1"
>>
>> No need for PR in general.
>>>
>>> S = "${WORKDIR}/git"
>>>
>>> inherit autotools-brokensep
>>
>> Boo.  Is upstream fixable or is it beyond help?
>>>
>>> SRC_URI[md5sum] = "d2f152e4dc83ee4cdb1b4f1a4866fe7f"
>>> SRC_URI[sha256sum] =
"d0ff89397f9a5fd1d13b1cbc419d5d426e14473135515d72bfcb58e5babf5032"
>>
>> No need for SRC_URI if you're using git fetcher.
>>
>> Ross
>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libtomcrypt libtomfastmath recipe

2016-10-20 Thread Vivek Per
HI,

Thank you very much.


regards,
 vivek

On Wed, Oct 19, 2016 at 2:42 PM, Markus Volk  wrote:

> tomcrypt builds like this for me:
>
>
> DESCRIPTION = "tomcrypt"
> HOMEPAGE = " http://www.libtom.net; 
> LICENSE = "DWTFYW"
> LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=71baacc459522324ef3e2b9e052e81
> 80"
>
> SRC_URI = "git://github.com/libtom/libtomcrypt.git;branch=develop \
> "
>
> SRCREV = "${AUTOREV}"
> PV = "${SRCPV}"
> PR = "1"
>
> S = "${WORKDIR}/git"
>
> inherit autotools-brokensep
>
> SRC_URI[md5sum] = "d2f152e4dc83ee4cdb1b4f1a4866fe7f"
> SRC_URI[sha256sum] = "d0ff89397f9a5fd1d13b1cbc419d5d
> 426e14473135515d72bfcb58e5babf5032"
>
>
> note, that tomcrypt wants latex installed for creating doc. You proably
> want to edit the makefile or define NODOC
>
> Am 19.10.2016 um 09:19 schrieb Vivek Per:
>
> Hi,
>
> I am trying to build tomfastmath and tomcrypt shared libraries using
> yocto, I couldn't get recipes for libtomcrypt and tomfastmath in web. So
> started to write one but i am failing to write correct recipe every time.
>
> the skeleton   i used is both the recipes
>
> S = "${WORKDIR}/git"
> inherit autotools
> EXTRA_OEMAKE = " 'CFLAGS=${CFLAGS} "-I${S}/src/headers" -DTFM_ARM '
>  'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'LD={LD}'   'BUILDDIR=${S}'
> 'D=${DEST_DIR}' "
> do_compile() {
> make -f ${S}/makefile  libtfm.a DESTDIR=${D} SBINDIR=${sbindir}
> MANDIR=${mandir}
> }
>
> Can any one help  please help me in creating tomcrypt and tomfastmath
> recipes. or any point our if recipes already exist.
>
>
> Thanks and Regards,
>   Vivek
>
>
>
>
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libtomcrypt libtomfastmath recipe

2016-10-20 Thread Vivek Per
Hi All,

Thank you very much this recipe worked for me.

Thanks and Regards,


On Thu, Oct 20, 2016 at 3:40 AM, Burton, Ross  wrote:

> Please considering posting these recipe into meta-oe or similar, tomcrypt
> etc comes up every few months.  And posting a recipe to the list implies
> you want review, right? :)
>
> On 19 October 2016 at 10:12, Markus Volk  wrote:
>
>> DESCRIPTION = "tomcrypt"
>> HOMEPAGE = " http://www.libtom.net; 
>> LICENSE = "DWTFYW"
>>
> Second worst license known to man.  :(
>
>> LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=71baa
>> cc459522324ef3e2b9e052e8180"
>>
> These URLs are relative to ${S} so just file://LICENSE works.
>
>> SRC_URI = "git://github.com/libtom/libtomcrypt.git;branch=develop \
>> "
>>
>> SRCREV = "${AUTOREV}"
>>
> In general it's recommended to use a fixed SHA and then override SRVREV if
> you need to for testing/CI/whatever.
>
>> PV = "${SRCPV}"
>> PR = "1"
>>
> No need for PR in general.
>
>> S = "${WORKDIR}/git"
>>
>> inherit autotools-brokensep
>>
> Boo.  Is upstream fixable or is it beyond help?
>
>> SRC_URI[md5sum] = "d2f152e4dc83ee4cdb1b4f1a4866fe7f"
>> SRC_URI[sha256sum] = "d0ff89397f9a5fd1d13b1cbc419d5
>> d426e14473135515d72bfcb58e5babf5032"
>>
>> No need for SRC_URI if you're using git fetcher.
>
> Ross
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libtomcrypt libtomfastmath recipe

2016-10-19 Thread Burton, Ross
Please considering posting these recipe into meta-oe or similar, tomcrypt
etc comes up every few months.  And posting a recipe to the list implies
you want review, right? :)

On 19 October 2016 at 10:12, Markus Volk  wrote:

> DESCRIPTION = "tomcrypt"
> HOMEPAGE = " http://www.libtom.net; 
> LICENSE = "DWTFYW"
>
Second worst license known to man.  :(

> LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=71baacc459522324ef3e2b9e052e81
> 80"
>
These URLs are relative to ${S} so just file://LICENSE works.

> SRC_URI = "git://github.com/libtom/libtomcrypt.git;branch=develop \
> "
>
> SRCREV = "${AUTOREV}"
>
In general it's recommended to use a fixed SHA and then override SRVREV if
you need to for testing/CI/whatever.

> PV = "${SRCPV}"
> PR = "1"
>
No need for PR in general.

> S = "${WORKDIR}/git"
>
> inherit autotools-brokensep
>
Boo.  Is upstream fixable or is it beyond help?

> SRC_URI[md5sum] = "d2f152e4dc83ee4cdb1b4f1a4866fe7f"
> SRC_URI[sha256sum] = "d0ff89397f9a5fd1d13b1cbc419d5d
> 426e14473135515d72bfcb58e5babf5032"
>
> No need for SRC_URI if you're using git fetcher.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libtomcrypt libtomfastmath recipe

2016-10-19 Thread Markus Volk

tomcrypt builds like this for me:


DESCRIPTION = "tomcrypt"
HOMEPAGE = " http://www.libtom.net;
LICENSE = "DWTFYW"
LIC_FILES_CHKSUM = 
"file://${S}/LICENSE;md5=71baacc459522324ef3e2b9e052e8180"


SRC_URI = "git://github.com/libtom/libtomcrypt.git;branch=develop \
"

SRCREV = "${AUTOREV}"
PV = "${SRCPV}"
PR = "1"

S = "${WORKDIR}/git"

inherit autotools-brokensep

SRC_URI[md5sum] = "d2f152e4dc83ee4cdb1b4f1a4866fe7f"
SRC_URI[sha256sum] = 
"d0ff89397f9a5fd1d13b1cbc419d5d426e14473135515d72bfcb58e5babf5032"



note, that tomcrypt wants latex installed for creating doc. You proably 
want to edit the makefile or define NODOC



Am 19.10.2016 um 09:19 schrieb Vivek Per:

Hi,

I am trying to build tomfastmath and tomcrypt shared libraries using 
yocto, I couldn't get recipes for libtomcrypt and tomfastmath in web. 
So started to write one but i am failing to write correct recipe every 
time.


the skeleton   i used is both the recipes

S = "${WORKDIR}/git"
inherit autotools
EXTRA_OEMAKE = " 'CFLAGS=${CFLAGS} "-I${S}/src/headers" -DTFM_ARM ' 
 'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'LD={LD}'   'BUILDDIR=${S}' 
'D=${DEST_DIR}' "

do_compile() {
make -f ${S}/makefile  libtfm.a DESTDIR=${D} SBINDIR=${sbindir} 
MANDIR=${mandir}

}

Can any one help  please help me in creating tomcrypt and tomfastmath 
recipes. or any point our if recipes already exist.



Thanks and Regards,
  Vivek





-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] libtomcrypt libtomfastmath recipe

2016-10-19 Thread Vivek Per
Hi,

I am trying to build tomfastmath and tomcrypt shared libraries using yocto,
I couldn't get recipes for libtomcrypt and tomfastmath in web. So started
to write one but i am failing to write correct recipe every time.

the skeleton   i used is both the recipes

S = "${WORKDIR}/git"
inherit autotools
EXTRA_OEMAKE = " 'CFLAGS=${CFLAGS} "-I${S}/src/headers" -DTFM_ARM '
 'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'LD={LD}'   'BUILDDIR=${S}'
'D=${DEST_DIR}' "
do_compile() {
make -f ${S}/makefile  libtfm.a DESTDIR=${D} SBINDIR=${sbindir}
MANDIR=${mandir}
}

Can any one help  please help me in creating tomcrypt and tomfastmath
recipes. or any point our if recipes already exist.


Thanks and Regards,
  Vivek
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto