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

libgcrypt update: 1.7.1 (2016 June) -> 1.8.2 (2017 Dec)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 10:52:47 2018 +0000 (2018-06-09)
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 }