[oe] [meta-webserver][PATCH 6/6] xdebug: add new recipe
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Oct 3 11:28:29 UTC 2012
On Wednesday 03 October 2012 12:21:51 Koen Kooi wrote:
> Op 01-10-12 18:14, Paul Eggleton schreef:
> > Add new recipe for the Xdebug PHP debugger/profiler.
> >
> > Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com> ---
> > meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29
> > +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644
> > meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
> >
> > diff --git a/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
> > b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb new file mode 100644
> > index 0000000..5bd374c --- /dev/null +++
> > b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb @@ -0,0 +1,29 @@
> > +SUMMARY = "Debugging and profiling extension for PHP"
>
> Missing DESCRIPTION
No, this is deliberate - presumably you're aware that the default value of
DESCRIPTION is "${SUMMARY}" ? The opposite is not true, which leads to
packages with useless summaries if you set DESCRIPTION and not SUMMARY; so if
it's just one line the single variable to set is SUMMARY. I know we have a lot
of recipes that have this issue; we should probably address that on a wider
basis.
> > +LICENSE = "Xdebug" +LIC_FILES_CHKSUM =
> > "file://LICENSE;md5=34df3a274aa12b795417c65634c07f16" + +DEPENDS =
> > "modphp" + +PR = "r0"
>
> default....
See reply to patch 2/6.
> > + +SRC_URI = "http://xdebug.org/files/xdebug-${PV}.tgz" +
> > +SRC_URI[md5sum] = "5e5c467e920240c20f165687d7ac3709" +SRC_URI[sha256sum]
> > = "11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad" +
> > +inherit autotools + +EXTRA_OECONF += "--enable-xdebug
> > -with-php-config=${STAGING_BINDIR_CROSS}/php-config" + +do_configure() {
> > + ${STAGING_BINDIR_CROSS}/phpize + oe_runconf +}
>
> Why not do autotools_do_configure?
Because AFAICT PHP modules are somewhat unusual when it comes to configure, and
totally break if you try to autoreconf. IIRC this was the only way I could get
the thing to build.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-devel
mailing list