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