wok-6.x view busybox-httpd-ctrl/receipt @ rev 24078

gst-plugins-bad, gst-plugins-good, gst-plugins-base-1.0: typo (!)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 16:53:11 2021 +0000 (2021-07-08)
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 }