# HG changeset patch # User Christophe Lincoln # Date 1305556157 -7200 # Node ID 94543eb9b7dc3d651821dbc05b87166be07c6826 # Parent b8e90430c03aaf8f49d39570455e293e26e790f7 php: should fix the receipt (missing $install and sed bdep) diff -r b8e90430c03a -r 94543eb9b7dc php/receipt --- a/php/receipt Mon May 16 15:38:06 2011 +0200 +++ b/php/receipt Mon May 16 16:29:17 2011 +0200 @@ -5,17 +5,18 @@ CATEGORY="development" SHORT_DESC="PHP web programming language." MAINTAINER="pankso@slitaz.org" -DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl" -BUILD_DEPENDS="sqlite-dev libxml2-dev zlib zlib-dev libmysqlclient \ -mysql-dev net-snmp-dev postgresql postgresql-dev gettext openssl-dev \ -apache-dev apache apr-util-dev c-client mhash mhash-dev libpng libpng-dev \ -libunixODBC unixODBC-dev openldap-dev libldap apr-dev libmcrypt-dev curl \ -curl-dev cyrus-sasl-dev perl pkg-config jpeg-dev jpeg openldap" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.php.net/" WGET_URL="http://us2.php.net/distributions/$TARBALL" PROVIDE="php:lighttpd" +DEPENDS="php-common lighttpd zlib libxml2 sqlite libssl" +BUILD_DEPENDS="sqlite-dev libxml2-dev zlib-dev libmysqlclient mysql-dev \ +net-snmp-dev postgresql-dev gettext openssl-dev apache-dev apr-util-dev \ +c-client mhash-dev libpng-dev libunixODBC unixODBC-dev openldap-dev \ +libldap apr-dev libmcrypt-dev curl-dev cyrus-sasl-dev perl pkg-config \ +jpeg-dev sed" + # Rules to configure and make the package. compile_rules() { @@ -62,8 +63,8 @@ make -j 4 && make INSTALL_ROOT=$PWD/install install ./configure $COMMON_ARGS --with-apxs2=/usr/bin/apxs $CONFIGURE_ARGS && \ make -j 4 && { - mkdir -p install/etc/apache - cp /etc/apache/httpd.conf install/etc/apache/httpd.conf + mkdir -p $install/etc/apache + cp /etc/apache/httpd.conf $install/etc/apache/httpd.conf make INSTALL_ROOT=$install install } # Recommended config file and phpinfo.