wok-current diff nginx/receipt @ rev 15373

smx: apache 2.4 patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 16:55:23 2013 +0000 (2013-10-17)
parents d4a28e8d9c5b
children 23c3aed67cd9
line diff
     1.1 --- a/nginx/receipt	Tue Jul 02 14:55:31 2013 +0000
     1.2 +++ b/nginx/receipt	Thu Oct 17 16:55:23 2013 +0000
     1.3 @@ -9,9 +9,11 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://nginx.org/"
     1.6  WGET_URL="${WEB_SITE}download//$TARBALL"
     1.7 +PROVIDE="lighttpd"
     1.8 +CONFIG_FILES="/etc/nginx"
     1.9 +
    1.10  DEPENDS="pcre openssl zlib"
    1.11  BUILD_DEPENDS="pcre-dev openssl-dev zlib-dev"
    1.12 -CONFIG_FILES="/etc/nginx"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16 @@ -49,14 +51,14 @@
    1.17  		--with-mail --with-mail_ssl_module \
    1.18  		--user=80 --group=80 &&
    1.19  	make &&
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +	make DESTDIR=$DESTDIR install
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  # On SliTaz Lighttpd runs as user/group : www/www or 80/80.
    1.26  genpkg_rules()
    1.27  {
    1.28 -        cp -a $_pkg/* $fs/
    1.29 +        cp -a $install/* $fs/
    1.30          rm -rf $fs/usr/html
    1.31          cp -a stuff/* $fs
    1.32          sed -i 's/#user  nobody;/user  www;/' $fs/etc/nginx/nginx.conf