1 SECTION = "console/network"
2 DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the CGI."
3 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
5 SRC_URI = "http://de3.php.net/distributions/php-${PV}.tar.bz2 \
6 file://${FILESDIR}/autotools.patch;patch=1 \
7 file://${FILESDIR}/pear.patch;patch=1"
8 S = "${WORKDIR}/php-${PV}"
12 CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
13 EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \
15 --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \
16 --without-libpng --without-libjpeg \
17 --with-config-file-path=${sysconfdir}/php4"
19 EXTRA_OECONF += " --without-pear"
20 # Uncomment the following two lines, and comment the above to enable PEAR
21 #EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR}/php"
22 #DEPENDS += " php-native"
27 oe_runmake 'INSTALL_ROOT=${D}' install