summaryrefslogtreecommitdiff
path: root/packages/php/php_5.1.4.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-31 13:18:33 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-31 13:18:33 +0000
commit3a2ff6c671cec5287418f20398f111097f95dd9b (patch)
tree24990508bf0a9db4b7cf0e9ee9cb1d30b8eae7bc /packages/php/php_5.1.4.bb
parentd567423ad0029843daa5004cdd91304cacdb4491 (diff)
php: unify
Diffstat (limited to 'packages/php/php_5.1.4.bb')
-rw-r--r--packages/php/php_5.1.4.bb19
1 files changed, 2 insertions, 17 deletions
diff --git a/packages/php/php_5.1.4.bb b/packages/php/php_5.1.4.bb
index a9ea9d2ed6..47475daca9 100644
--- a/packages/php/php_5.1.4.bb
+++ b/packages/php/php_5.1.4.bb
@@ -1,21 +1,12 @@
-SECTION = "console/network"
-DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the CGI."
-LICENSE = "PHP"
-DEPENDS = "zlib libxml2 mysql virtual/libiconv"
+require php.inc
-SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2\
- file://autotools.patch;patch=1 \
- file://acinclude-xml2-config.patch;patch=1"
-
-S = "${WORKDIR}/php-${PV}"
-PR = "r2"
+PR = "r3"
inherit autotools
export THREADS="pthread"
export LIBS=" -lpthread "
-CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
EXTRA_OECONF = "--without-iconv \
--enable-discard-path \
--enable-sockets \
@@ -28,13 +19,7 @@ EXTRA_OECONF += " --without-pear --with-libxml-dir=${STAGING_BINDIR} "
#EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR_NATIVE}/php"
#DEPENDS += " php-native"
-acpaths = ""
-
do_configure_append() {
find ${S} -type f | xargs sed -i 's:/usr/lib:${STAGING_LIBDIR}:'
find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
}
-
-do_install () {
- oe_runmake 'INSTALL_ROOT=${D}' install
-}