wok-6.x view busybox-httpd-ctrl/receipt @ rev 22797
Add xsane-locales
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 10:28:49 2020 +0100 (2020-01-27) |
parents | 409bd33482f9 |
children | 73f36875e5a7 |
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="http://www.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 }