summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/xdebug/xdebug_3.5.1.bb
diff options
context:
space:
mode:
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.bb36
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 @@
1SUMMARY = "Debugging and profiling extension for PHP"
2HOMEPAGE = "https://xdebug.org/"
3LICENSE = "Xdebug"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=afd6ce4aa04fdc346e5b3c6e634bd75c"
5
6DEPENDS = "php re2c-native"
7
8SRC_URI = "https://xdebug.org/files/xdebug-${PV}.tgz"
9
10SRC_URI[sha256sum] = "0f26849a5edf3d9120edc100219854599d54f923a8a4d1cb4fe4403520e49678"
11
12UPSTREAM_CHECK_URI = "https://github.com/xdebug/xdebug/releases"
13UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)$"
14
15inherit autotools
16
17EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config"
18
19do_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
31do_install() {
32 oe_runmake install INSTALL_ROOT=${D}
33}
34
35FILES:${PN} += "${libdir}/php*/extensions/*/*.so"
36FILES:${PN}-dbg += "${libdir}/php*/extensions/*/.debug"