Bitbake libevent

From PaparazziUAV
Jump to: navigation, search

Download libevent-1.4.14b-stable.tar.gz from

put it in map


make a new md5 checksum

cd overo-oe/sources/

md5sum libevent-1.4.14b-stable.tar.gz >libevent-1.4.14b-stable.tar.gz.md5

remove the string: libevent-1.4.14b-stable.tar.gz

from this new file libevent-1.4.14b-stable.tar.gz.md5

make a new sha256sum checksum

cd overo-oe/sources/

sha256sum libevent-1.4.14b-stable.tar.gz >libevent-1.4.14b-stable.tar.gz.sha256sum

make a new bb file

put the md5 and sha256sum checksum in it

looks like this:

DESCRIPTION = "The libevent API provides a mechanism to execute a callback function \ when a specific event occurs on a file descriptor or after a timeout has been reached. \ Furthermore, libevent also support callbacks due to signals or regular timeouts." HOMEPAGE = "" SECTION = "libs" AUTHOR = "Niels Provos <>" LICENSE = "BSD"

SRC_URI = "${PV}.tar.gz"

inherit autotools

do_stage() { autotools_stage_all }

SRC_URI[md5sum] = "a00e037e4d3f9e4fe9893e8a2d27918c" SRC_URI[sha256sum] = "afa61b476a222ba43fc7cca2d24849ab0bbd940124400cb699915d3c60e46301"

save it in overo-oe/user.collection/recipes/libevent/

bitbake libevent