diff options
Diffstat (limited to 'meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb')
| -rw-r--r-- | meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb b/meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb new file mode 100644 index 0000000000..4c2c6538b5 --- /dev/null +++ b/meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "Debugging and profiling extension for PHP" | ||
| 2 | HOMEPAGE = "https://xdebug.org/" | ||
| 3 | LICENSE = "Xdebug" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=afd6ce4aa04fdc346e5b3c6e634bd75c" | ||
| 5 | |||
| 6 | DEPENDS = "php re2c-native" | ||
| 7 | |||
| 8 | SRC_URI = "https://xdebug.org/files/xdebug-${PV}.tgz" | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "0f26849a5edf3d9120edc100219854599d54f923a8a4d1cb4fe4403520e49678" | ||
| 11 | |||
| 12 | UPSTREAM_CHECK_URI = "https://github.com/xdebug/xdebug/releases" | ||
| 13 | UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config" | ||
| 18 | |||
| 19 | do_configure() { | ||
| 20 | cd ${S} | ||
| 21 | ${STAGING_BINDIR_CROSS}/phpize | ||
| 22 | cd ${B} | ||
| 23 | |||
| 24 | # Running autoreconf as autotools_do_configure would do here | ||
| 25 | # breaks the libtool configuration resulting in a failure later | ||
| 26 | # in do_compile. It's possible this may be fixable, however the | ||
| 27 | # easiest course of action for the moment is to avoid doing that. | ||
| 28 | oe_runconf | ||
| 29 | } | ||
| 30 | |||
| 31 | do_install() { | ||
| 32 | oe_runmake install INSTALL_ROOT=${D} | ||
| 33 | } | ||
| 34 | |||
| 35 | FILES:${PN} += "${libdir}/php*/extensions/*/*.so" | ||
| 36 | FILES:${PN}-dbg += "${libdir}/php*/extensions/*/.debug" | ||
