Merge oe-devel@oe-devel.bkbits.net:packages
[vuplus_openembedded] / php / php_4.3.6.oe
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>"
4
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}"
9
10 inherit autotools
11
12 CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
13 EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \
14                 --with-mysql \
15                 --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \
16                 --without-libpng --without-libjpeg \
17                 --with-config-file-path=${sysconfdir}/php4"
18
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"
23
24 acpaths = ""
25
26 do_install  () {
27         oe_runmake 'INSTALL_ROOT=${D}' install
28 }