wok rev 9859

php: should fix the receipt (missing $install and sed bdep)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 16:29:17 2011 +0200 (2011-05-16)
parents b8e90430c03a
children cb5c920771ca
files php/receipt
line diff
     1.1 --- a/php/receipt	Mon May 16 15:38:06 2011 +0200
     1.2 +++ b/php/receipt	Mon May 16 16:29:17 2011 +0200
     1.3 @@ -5,17 +5,18 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="PHP web programming language."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl"
     1.8 -BUILD_DEPENDS="sqlite-dev libxml2-dev zlib zlib-dev libmysqlclient \
     1.9 -mysql-dev net-snmp-dev postgresql postgresql-dev gettext openssl-dev \
    1.10 -apache-dev apache apr-util-dev c-client mhash mhash-dev libpng libpng-dev \
    1.11 -libunixODBC unixODBC-dev openldap-dev libldap apr-dev libmcrypt-dev curl \
    1.12 -curl-dev cyrus-sasl-dev perl pkg-config jpeg-dev jpeg openldap"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.php.net/"
    1.15  WGET_URL="http://us2.php.net/distributions/$TARBALL"
    1.16  PROVIDE="php:lighttpd"
    1.17  
    1.18 +DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl"
    1.19 +BUILD_DEPENDS="sqlite-dev libxml2-dev zlib-dev libmysqlclient mysql-dev \
    1.20 +net-snmp-dev postgresql-dev gettext openssl-dev apache-dev apr-util-dev \
    1.21 +c-client mhash-dev libpng-dev libunixODBC unixODBC-dev openldap-dev \
    1.22 +libldap apr-dev libmcrypt-dev curl-dev cyrus-sasl-dev perl pkg-config \
    1.23 +jpeg-dev sed"
    1.24 +
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 @@ -62,8 +63,8 @@
    1.29  	make -j 4 && make INSTALL_ROOT=$PWD/install install
    1.30  	./configure $COMMON_ARGS --with-apxs2=/usr/bin/apxs $CONFIGURE_ARGS && \
    1.31  	make -j 4 && {
    1.32 -		mkdir -p install/etc/apache
    1.33 -		cp /etc/apache/httpd.conf install/etc/apache/httpd.conf
    1.34 +		mkdir -p $install/etc/apache
    1.35 +		cp /etc/apache/httpd.conf $install/etc/apache/httpd.conf
    1.36  		make INSTALL_ROOT=$install install
    1.37  	}
    1.38  	# Recommended config file and phpinfo.