summaryrefslogtreecommitdiff
path: root/recipes/nonworking/php/php.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-12 14:33:38 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-12 16:51:27 +0200
commit2eabb4b0744d17eca2f85f5467b2d4aa2b19faa8 (patch)
tree6367f7f0b499fbc2fe3501d950bb70372c1a4dc2 /recipes/nonworking/php/php.inc
parent135ce5006447a0af1bd66baabcfc2af19e09143d (diff)
nonworking: add more .inc files to make packages at least parse-able
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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
+}