wok-6.x annotate busybox-httpd-ctrl/receipt @ rev 21748
updated quazip and quazip-dev (0.6.1 -> 0.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 14 17:25:33 2019 +0100 (2019-06-14) |
parents | 409bd33482f9 |
children | 73f36875e5a7 |
rev | line source |
---|---|
hackdorte@19319 | 1 # SliTaz package receipt. |
hackdorte@19319 | 2 |
hackdorte@19319 | 3 PACKAGE="busybox-httpd-ctrl" |
pascal@19340 | 4 VERSION="1.0" |
hackdorte@19319 | 5 CATEGORY="network" |
hackdorte@19319 | 6 SHORT_DESC="Add menu entry to control the Busybox Httpd Web Server." |
hackdorte@19319 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19319 | 8 LICENSE="GPL2" |
hackdorte@19319 | 9 WEB_SITE="http://www.busybox.net/" |
hackdorte@19319 | 10 |
hackdorte@19319 | 11 TAGS="busybox control web server" |
hackdorte@19319 | 12 |
hackdorte@19319 | 13 DEPENDS="busybox" |
hackdorte@19319 | 14 BUILD_DEPENDS="" |
hackdorte@19319 | 15 |
hackdorte@19319 | 16 # Rules to configure and make the package. |
hackdorte@19319 | 17 compile_rules() |
hackdorte@19319 | 18 { |
hackdorte@19319 | 19 |
hackdorte@19319 | 20 mkdir -p $install/usr/bin |
hackdorte@19319 | 21 mkdir -p $install/usr/share/applications |
hackdorte@19319 | 22 |
hackdorte@19319 | 23 } |
hackdorte@19319 | 24 |
hackdorte@19319 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19319 | 26 genpkg_rules() |
hackdorte@19319 | 27 { |
hackdorte@19319 | 28 |
hackdorte@19319 | 29 cp -a $stuff/usr/bin/httpd-start.txt \ |
hackdorte@19319 | 30 $install/usr/bin/httpd-ctrl-start |
hackdorte@19319 | 31 |
hackdorte@19319 | 32 cp -a $stuff/usr/bin/httpd-stop.txt \ |
hackdorte@19319 | 33 $install/usr/bin/httpd-ctrl-stop |
hackdorte@19319 | 34 |
hackdorte@19319 | 35 cp -a $stuff/usr/share/applications/* \ |
hackdorte@19319 | 36 $install/usr/share/applications |
hackdorte@19319 | 37 |
hackdorte@19319 | 38 cp -a $install/* $fs/ |
hackdorte@19319 | 39 |
hackdorte@19319 | 40 } |
hackdorte@19319 | 41 |
hackdorte@19319 | 42 post_install() |
hackdorte@19319 | 43 { |
hackdorte@19319 | 44 |
hackdorte@19319 | 45 chmod +x $1/usr/bin/httpd-ctrl-start |
hackdorte@19319 | 46 chmod +x $1/usr/bin/httpd-ctrl-stop |
hackdorte@19319 | 47 |
hackdorte@19319 | 48 } |