summaryrefslogtreecommitdiff
path: root/packages/php/php-native.inc
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-09-21 13:56:33 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2008-09-21 13:56:33 +0000
commita1e1a2e1738d4f5a9d8ee8f895c2525f1b37edee (patch)
tree8be7806d2cc094180ef9b7879fe99e0cebdf2dd6 /packages/php/php-native.inc
parent84d6e7e3708f89589638b37069218f58e822343c (diff)
parentfd08d6342ad38345dd8651367f584672712543f5 (diff)
merge of '2164eb62b60f233738ed0300039cc4c534e16a14'
and 'e330aca99df7101ab377267e761f56c0df7ef4ae'
Diffstat (limited to 'packages/php/php-native.inc')
-rw-r--r--packages/php/php-native.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/php/php-native.inc b/packages/php/php-native.inc
new file mode 100644
index 0000000000..84f9a1a0ee
--- /dev/null
+++ b/packages/php/php-native.inc
@@ -0,0 +1,15 @@
+require php.inc
+
+DEPENDS = "zlib-native libxml2-native"
+
+inherit autotools native pkgconfig
+export LIBS=" -lxml2 "
+export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
+
+EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \
+ --with-zlib --with-zlib-dir=${STAGING_LIBDIR_NATIVE} \
+ --without-libpng --without-libjpeg \
+ --with-libxml-dir=${STAGING_BINDIR_NATIVE} \
+ "
+
+FILESPATH = "${FILE_DIRNAME}/php-${PV}:${FILE_DIRNAME}/php:${FILE_DIRNAME}/files"