aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
commitbd068236207dee9373f5d559c88325de3446d53b (patch)
treebea490798b7aec80d96272f621898b8cb8c82efe /php
parent96379cf2ff7c66a2ab2f1e57e17c88b9860e5c75 (diff)
downloadopenembedded-bd068236207dee9373f5d559c88325de3446d53b.tar.gz
Merge bk://openembedded@openembedded.bkbits.net/packages
into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages 2004/10/11 18:35:17+02:00 local!CoreDump The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix. BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw
Diffstat (limited to 'php')
-rw-r--r--php/php-native_4.3.6.oe5
-rw-r--r--php/php_4.3.6.oe28
2 files changed, 33 insertions, 0 deletions
diff --git a/php/php-native_4.3.6.oe b/php/php-native_4.3.6.oe
index e69de29bb2..bde684045f 100644
--- a/php/php-native_4.3.6.oe
+++ b/php/php-native_4.3.6.oe
@@ -0,0 +1,5 @@
+SECTION = "console/network"
+include php_${PV}.oe
+inherit native
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/php-${PV}"
+DEPENDS = "zlib-native"
diff --git a/php/php_4.3.6.oe b/php/php_4.3.6.oe
index e69de29bb2..533450d486 100644
--- a/php/php_4.3.6.oe
+++ b/php/php_4.3.6.oe
@@ -0,0 +1,28 @@
+SECTION = "console/network"
+DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the CGI."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+
+SRC_URI = "http://de3.php.net/distributions/php-${PV}.tar.bz2 \
+ file://${FILESDIR}/autotools.patch;patch=1 \
+ file://${FILESDIR}/pear.patch;patch=1"
+S = "${WORKDIR}/php-${PV}"
+
+inherit autotools
+
+CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
+EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \
+ --with-mysql \
+ --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \
+ --without-libpng --without-libjpeg \
+ --with-config-file-path=${sysconfdir}/php4"
+
+EXTRA_OECONF += " --without-pear"
+# Uncomment the following two lines, and comment the above to enable PEAR
+#EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR}/php"
+#DEPENDS += " php-native"
+
+acpaths = ""
+
+do_install () {
+ oe_runmake 'INSTALL_ROOT=${D}' install
+}