[oe] receipe for libmicrohttpd
Graeme Gregory
dp at xora.org.uk
Thu Apr 30 21:26:49 UTC 2009
Ottavio Campana wrote:
> On Thu, Apr 30, 2009 at 03:22:30PM +0100, Graeme Gregory wrote:
>
>> Ottavio Campana wrote:
>>
>>> I wrote the receipe for libmicrohttpd, a LPGL library used to embedded a
>>> web server in programs.
>>>
>>> It works for me, but I'd like to have some feedback from you, if it is
>>> good or not and if you'd like to add it to OE.
>>>
>>> Ottavio
>>>
>>> PR = "r1"
>>> PN = "libmicrohttpd"
>>> DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application"
>>> HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
>>> SECTION = "libs"
>>> LICENSE = "LGPL"
>>>
>>> SRC_URI = "ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.4.1.tar.gz"
>>>
>>> inherit autotools pkgconfig
>>>
>>> do_stage() {
>>> oe_runmake DESTDIR="${D}" install
>>> autotools_stage_all
>>> }
>>>
>>> do_qa_staging () {
>>> }
>>>
>>>
>>>
>> You need to run the recipe through oe-stylize (found in contrib directory).
>>
>> Why did you override do_qa_staging() ?
>>
>> Apart from this recipe looks good, cleanup and submit as a git-diff.
>>
>
> here it is. I hope it's good.
>
>
I missed it first time, but you dont need to set PN =
PN is derived from the .bb file name and is already set for you.
Graeme
More information about the Openembedded-devel
mailing list