[yocto] libtomcrypt libtomfastmath recipe

Markus Volk f_l_k at t-online.de
Wed Oct 19 02:12:08 PDT 2016


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
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161019/460bbe0f/attachment.html>


More information about the yocto mailing list