aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nonworking/php/php.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nonworking/php/php.inc')
-rw-r--r--recipes/nonworking/php/php.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/nonworking/php/php.inc b/recipes/nonworking/php/php.inc
new file mode 100644
index 0000000000..cbec13d72d
--- /dev/null
+++ b/recipes/nonworking/php/php.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the CGI."
+HOMEPAGE = "http://www.php.net"
+SECTION = "console/network"
+LICENSE = "PHP"
+
+SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2;name=src \
+ file://acinclude-xml2-config.patch;patch=1 \
+ file://php-m4-divert.patch;patch=1"
+
+S = "${WORKDIR}/php-${PV}"
+
+inherit autotools
+
+CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -D_GNU_SOURCE"
+
+acpaths = ""
+
+do_install () {
+ oe_runmake 'INSTALL_ROOT=${D}' install
+}