summaryrefslogtreecommitdiff
path: root/packages/php/php_5.2.6.bb
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2008-08-17 16:08:20 +0000
committerShane Volpe <shanevolpe@gmail.com>2008-08-17 16:08:20 +0000
commit4710dde4a853a9acf2f2aa800cdbc748625b687c (patch)
treeaa847d5ebe144af711efdad719de47844aac34b6 /packages/php/php_5.2.6.bb
parente9570b88fa18c49a68b5f44bffd7e2abb101f499 (diff)
php: Update to version 5.2.6
*Replaced the old version 5.2.5 with 5.2.6 beginning with `MTN:' are removed automatically. MTN: MTN: Current branch: org.openembedded.dev MTN: Changes against parent 5154bfc13d743e02fb1148028acbd96c161e3234 MTN: dropped packages/php/php-5.2.5 MTN: dropped packages/php/php-5.2.5/acinclude-xml2-config.patch MTN: dropped packages/php/php-5.2.5/pear-makefile.patch MTN: dropped packages/php/php_5.2.5.bb MTN: added packages/php/php-5.2.6 MTN: added packages/php/php_5.2.6.bb MTN: ---------------------------------------------------------------------- MTN:
Diffstat (limited to 'packages/php/php_5.2.6.bb')
-rw-r--r--packages/php/php_5.2.6.bb65
1 files changed, 65 insertions, 0 deletions
diff --git a/packages/php/php_5.2.6.bb b/packages/php/php_5.2.6.bb
new file mode 100644
index 0000000000..6281cfe04e
--- /dev/null
+++ b/packages/php/php_5.2.6.bb
@@ -0,0 +1,65 @@
+require php.inc
+
+PR = "r1"
+
+SRC_URI += "file://pear-makefile.patch;patch=1 "
+
+export THREADS="pthread"
+export LIBS=" -lpthread "
+
+EXTRA_OECONF = " --without-iconv \
+ --enable-discard-path \
+ --enable-sockets \
+ --enable-memory-limit \
+ --enable-wddx \
+ --enable-embedded-mysqli \
+ --enable-magic-quotes \
+ --with-zlib \
+ --with-mysql="${STAGING_DIR_TARGET}${layout_exec_prefix}" \
+ --with-mysqli="${STAGING_BINDIR_NATIVE}/mysql_config" \
+"
+
+EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR} --with-libxml-dir=${STAGING_BINDIR_CROSS}"
+
+export LD_LIBRARY_PATH = "${STAGING_LIBDIR}"
+export PHP_NATIVE_DIR="${STAGING_BINDIR_NATIVE}"
+export PHP_PEAR_PHP_BIN="/usr/bin/php"
+
+do_configure_append() {
+ find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g'
+}
+
+PACKAGES = "${PN}-dbg \
+ ${PN}-cli \
+ ${PN}-pear \
+ ${PN}-dev \
+ ${PN} \
+"
+
+
+FILES_${PN}-dbg =+"/usr/bin/.debug"
+
+FILES_${PN}-cli ="/usr/bin/php"
+
+FILES_${PN}-pear ="/usr/bin/pear* /usr/bin/pecl \
+ /usr/lib/php/PEAR \
+ /usr/lib/php/PEAR.php \
+ /usr/lib/php/System.php /usr/lib/php/peclcmd.php /usr/lib/php/pearcmd.php \
+ /usr/lib/php/.channels /usr/lib/php/.channels/.alias \
+ /usr/lib/php/.channels\__uri.reg \
+ /usr/lib/php/.channels\pear.php.net.reg /usr/lib/php/.channels/pecl.php.net.reg \
+ /usr/lib/php/.registry \
+ /usr/lib/php/Archive/Tar.php \
+ /usr/lib/php/Console/Getopt.php /usr/lib/php/OS/Guess.php \
+ /usr/lib/php/.depdb /usr/lib/php/.depdblock /usr/lib/php/.filemap \
+ /usr/lib/php/.lock"
+
+FILES_${PN}-dev ="/usr/include/php /usr/include/build \
+ /usr/bin/phpize /usr/bin/php-config"
+
+FILES_${PN} ="/usr/lib/php"
+FILES_${PN} +="/usr/bin"
+
+RDEPENDS_${PN}-pear =${PN}
+RDEPENDS_${PN}-cli =${PN}
+RDEPENDS_${PN}-dev =${PN}