* receipe for libmicrohttpd
@ 2009-04-30 14:04 Ottavio Campana
2009-04-30 14:22 ` Graeme Gregory
0 siblings, 1 reply; 5+ messages in thread
From: Ottavio Campana @ 2009-04-30 14:04 UTC (permalink / raw)
To: openembedded-devel
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 () {
}
--
Non c'è più forza nella normalità, c'è solo monotonia.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: receipe for libmicrohttpd
2009-04-30 14:04 receipe for libmicrohttpd Ottavio Campana
@ 2009-04-30 14:22 ` Graeme Gregory
2009-04-30 15:53 ` Ottavio Campana
0 siblings, 1 reply; 5+ messages in thread
From: Graeme Gregory @ 2009-04-30 14:22 UTC (permalink / raw)
To: openembedded-devel
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.
Graeme
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: receipe for libmicrohttpd
2009-04-30 14:22 ` Graeme Gregory
@ 2009-04-30 15:53 ` Ottavio Campana
2009-04-30 21:26 ` Graeme Gregory
0 siblings, 1 reply; 5+ messages in thread
From: Ottavio Campana @ 2009-04-30 15:53 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]
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.
Ottavio
--
Non c'è più forza nella normalità, c'è solo monotonia.
[-- Attachment #2: libmicrohttpd.patch --]
[-- Type: text/x-diff, Size: 1238 bytes --]
diff --git a/conf/checksums.ini b/conf/checksums.ini
index ffc84c6..395ace5 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -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
diff --git a/recipes/libmicrohttpd/libmicrohttpd_0.4.1.bb b/recipes/libmicrohttpd/libmicrohttpd_0.4.1.bb
new file mode 100644
index 0000000..39860dc
--- /dev/null
+++ b/recipes/libmicrohttpd/libmicrohttpd_0.4.1.bb
@@ -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"
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: receipe for libmicrohttpd
2009-04-30 15:53 ` Ottavio Campana
@ 2009-04-30 21:26 ` Graeme Gregory
2009-05-02 22:31 ` Marc Humphreys
0 siblings, 1 reply; 5+ messages in thread
From: Graeme Gregory @ 2009-04-30 21:26 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: receipe for libmicrohttpd
2009-04-30 21:26 ` Graeme Gregory
@ 2009-05-02 22:31 ` Marc Humphreys
0 siblings, 0 replies; 5+ messages in thread
From: Marc Humphreys @ 2009-05-02 22:31 UTC (permalink / raw)
To: openembedded-devel
Sicortex, Inc.
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Graeme Gregory
> Sent: Thursday, April 30, 2009 5:27 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] receipe for libmicrohttpd
>
> 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
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-02 22:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-30 14:04 receipe for libmicrohttpd Ottavio Campana
2009-04-30 14:22 ` Graeme Gregory
2009-04-30 15:53 ` Ottavio Campana
2009-04-30 21:26 ` Graeme Gregory
2009-05-02 22:31 ` Marc Humphreys
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.