wok-current diff lighttpd/receipt @ rev 15577
Update some start scripts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 11:43:20 2013 +0000 (2013-11-29) |
parents | 02e59bb0cae1 |
children | ade0043b3fac |
line diff
1.1 --- a/lighttpd/receipt Fri Nov 29 08:51:47 2013 +0000 1.2 +++ b/lighttpd/receipt Fri Nov 29 11:43:20 2013 +0000 1.3 @@ -31,19 +31,15 @@ 1.4 { 1.5 cd $src 1.6 sed -i '/addrs_left/d' src/mod_extforward.c 1.7 - if [ ! done.fastcgi_detach.patch ]; then 1.8 - patch -i $stuff/fastcgi_detach.patch || return 1 1.9 - touch done.fastcgi_detach.patch 1.10 - fi 1.11 ./configure \ 1.12 --enable-shared \ 1.13 --disable-ipv6 \ 1.14 --prefix=/usr \ 1.15 - --libdir=/usr/lib/lighttpd \ 1.16 - --mandir=/usr/share/man \ 1.17 - $CONFIGURE_ARGS && 1.18 + --libdir=/usr/lib/lighttpd \ 1.19 + --mandir=/usr/share/man \ 1.20 + $CONFIGURE_ARGS && 1.21 make && 1.22 - make DESTDIR=$PWD/_pkg install 1.23 + make DESTDIR=$DESTDIR install 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 @@ -51,14 +47,14 @@ 1.28 genpkg_rules() 1.29 { 1.30 mkdir -p $fs/usr 1.31 - #cp -a $_pkg/usr/bin $fs/usr 1.32 - cp -a $_pkg/usr/sbin $fs/usr 1.33 + #cp -a $install/usr/bin $fs/usr 1.34 + cp -a $install/usr/sbin $fs/usr 1.35 1.36 # Modules. 1.37 mkdir -p $fs/usr/lib/lighttpd 1.38 for module in $BASE_MODULES 1.39 do 1.40 - cp $_pkg/usr/lib/lighttpd/mod_${module}.so $fs/usr/lib/lighttpd 1.41 + cp $install/usr/lib/lighttpd/mod_${module}.so $fs/usr/lib/lighttpd 1.42 echo -n "Copying : mod_${module}.so" && status 1.43 done 1.44