wok view swat/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 2b9f96603415 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="swat"
4 VERSION="3.6.7"
5 CATEGORY="development"
6 SHORT_DESC="Samba Web Administration Tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://samba.org/"
10 WANTED="samba"
12 DEPENDS="samba"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/samba $fs/usr/share/applications
18 cp -a $install/usr/share/samba/swat $fs/usr/share/samba
19 }
21 post_install()
22 {
23 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then
24 if ! grep -q /usr/share/samba/swat/ "$1/etc/lighttpd/lighttpd.conf"; then
25 sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/swat/" => "/usr/share/samba/swat/",|g' -i "$1/etc/lighttpd/lighttpd.conf"
26 if [ -z "$1" ]; then
27 # Start Web server.
28 /etc/init.d/lighttpd stop
29 /etc/init.d/lighttpd start
30 fi
31 fi
32 fi
33 }