wok-next diff busybox-httpd-ctrl/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | f7c899b7a001 |
children | d5aab818505e |
line diff
1.1 --- a/busybox-httpd-ctrl/receipt Tue Jul 19 18:17:18 2016 +0200 1.2 +++ b/busybox-httpd-ctrl/receipt Mon Mar 12 10:46:52 2018 +0100 1.3 @@ -7,42 +7,19 @@ 1.4 MAINTAINER="hackdorte@sapo.pt" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="http://www.busybox.net/" 1.7 - 1.8 TAGS="busybox control web server" 1.9 1.10 DEPENDS="busybox" 1.11 -BUILD_DEPENDS="" 1.12 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - 1.17 - mkdir -p $install/usr/bin 1.18 - mkdir -p $install/usr/share/applications 1.19 - 1.20 + cp -a $stuff/usr $install 1.21 + chown -R root:root $install 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - 1.28 - cp -a $stuff/usr/bin/httpd-start.txt \ 1.29 - $install/usr/bin/httpd-ctrl-start 1.30 - 1.31 - cp -a $stuff/usr/bin/httpd-stop.txt \ 1.32 - $install/usr/bin/httpd-ctrl-stop 1.33 - 1.34 - cp -a $stuff/usr/share/applications/* \ 1.35 - $install/usr/share/applications 1.36 - 1.37 cp -a $install/* $fs/ 1.38 - 1.39 } 1.40 - 1.41 -post_install() 1.42 -{ 1.43 - 1.44 - chmod +x $1/usr/bin/httpd-ctrl-start 1.45 - chmod +x $1/usr/bin/httpd-ctrl-stop 1.46 - 1.47 -}