Skip to contentSkip to conversation

receipe for libmicrohttpd

DISCUSSION Ottavio Campana 3 participants 5 messages Apr 30, 2009 – May 2, 2009

lore
Share & tools
lore
#0 lore raw

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 () {
}

Signature · 1 line
Non c'è più forza nella normalità, c'è solo monotonia.
#1 lore raw
Quoted 19 lines · Ottavio Campana

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

Quoted 9 lines
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.

Graeme

#2 lore raw
Quoted 29 lines · Graeme Gregory
Quoted 19 lines · Ottavio Campana

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

Quoted 9 lines
do_stage() {
        oe_runmake DESTDIR="${D}" install
        autotools_stage_all
}

do_qa_staging () {
}

Quoted 5 lines

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.

Ottavio

Signature · 1 line
Non c'è più forza nella normalità, c'è solo monotonia.
conf/checksums.ini +4 -0
index ffc84c6..395ace5 100644
@@ -1,3 +1,7 @@
+[ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.4.1.tar.gz]
+md5=d11d2ee8632c13a60630607a99f500be
+sha256=8c8a3081fb65c78d85063690838363e979935aca023bc5e9639bc834c7947929
+
 [http://www.directfb.org/downloads/Extras/++DFB-0.9.25.tar.gz]
 md5=c6a2705f6210d8ede50a947b375f1c0b
 sha256=b3dbf01563dd60d63cff543ea8cd0c885381e78ecbbab8ff176e46df3f198a88
recipes/libmicrohttpd/libmicrohttpd_0.4.1.bb new file +16 -0
new file mode 100644
index 0000000..39860dc
@@ -0,0 +1,16 @@
+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"
+PR = "r1"
+
+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
+}
+
+PN = "libmicrohttpd"
#3 lore raw
Quoted 33 lines · Ottavio Campana
Quoted 31 lines · Graeme Gregory
Quoted 29 lines · Ottavio Campana

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 () {
}

Quoted 10 lines
Quoted 6 lines

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

#4 lore raw

Sicortex, Inc.

Quoted 69 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Graeme Gregory
Sent: Thursday, April 30, 2009 5:27 PM
To: [email protected]
Subject: Re: [oe] receipe for libmicrohttpd

Quoted 5 lines · Ottavio Campana
Quoted 3 lines · Graeme Gregory
Quoted 1 line · Ottavio Campana

I wrote the receipe for libmicrohttpd, a LPGL library used to

embedded a

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

web server in programs.

It works for me, but I'd like to have some feedback from you, if it

is

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

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"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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"

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

inherit autotools pkgconfig

do_stage() {
        oe_runmake DESTDIR="${D}" install
        autotools_stage_all
}
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

do_qa_staging () {
}

You need to run the recipe through oe-stylize (found in contrib

directory).

Quoted 9 lines
Quoted 5 lines

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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel