wok view busybox-httpd-ctrl/receipt @ rev 25783
Up verbiste (0.1.49)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago) |
parents | f7c899b7a001 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-httpd-ctrl"
4 VERSION="1.0"
5 CATEGORY="network"
6 SHORT_DESC="Add menu entry to control the Busybox Httpd Web Server."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPL2"
9 WEB_SITE="https://busybox.net/"
11 TAGS="busybox control web server"
13 DEPENDS="busybox"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
20 mkdir -p $install/usr/bin
21 mkdir -p $install/usr/share/applications
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
29 cp -a $stuff/usr/bin/httpd-start.txt \
30 $install/usr/bin/httpd-ctrl-start
32 cp -a $stuff/usr/bin/httpd-stop.txt \
33 $install/usr/bin/httpd-ctrl-stop
35 cp -a $stuff/usr/share/applications/* \
36 $install/usr/share/applications
38 cp -a $install/* $fs/
40 }
42 post_install()
43 {
45 chmod +x $1/usr/bin/httpd-ctrl-start
46 chmod +x $1/usr/bin/httpd-ctrl-stop
48 }