aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/php/php.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/php/php.inc')
-rw-r--r--recipes/php/php.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/php/php.inc b/recipes/php/php.inc
new file mode 100644
index 0000000000..e9d49a3269
--- /dev/null
+++ b/recipes/php/php.inc
@@ -0,0 +1,19 @@
+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\
+ file://acinclude-xml2-config.patch;patch=1"
+
+S = "${WORKDIR}/php-${PV}"
+
+inherit autotools
+
+CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
+
+acpaths = ""
+
+do_install () {
+ oe_runmake 'INSTALL_ROOT=${D}' install
+}