wok view busybox-httpd-ctrl/receipt @ rev 19641

Up: opus (1.1.3)
author Alexander Medvedev <devl547@gmail.com>
date Fri Jan 20 16:48:53 2017 +0000 (2017-01-20)
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 }