wok-6.x view swat/receipt @ rev 11785
Down gnumeric (0.8.16) 0.8.17 references gtk+-3. Removed unrecognized option from goffice
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Feb 24 10:18:11 2012 -0800 (2012-02-24) |
parents | 76ed92159a61 |
children | 88cfcda0c8aa |
line source
1 # SliTaz package receipt.
3 PACKAGE="swat"
4 VERSION="3.5.8"
5 CATEGORY="development"
6 SHORT_DESC="Samba Web Administration Tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://samba.org/"
9 DEPENDS="samba"
10 WANTED="samba"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/samba $fs/usr/share/applications
16 cp -a $_pkg/usr/share/samba/swat $fs/usr/share/samba
17 cp $stuff/swat.desktop $fs/usr/share/applications
18 }
20 post_install()
21 {
22 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
23 if ! grep -q /usr/share/samba/swat/ $1/etc/lighttpd/lighttpd.conf; then
24 sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/swat/" => "/usr/share/samba/swat/",|g' -i $1/etc/lighttpd/lighttpd.conf
25 if [ -z "$1" ]; then
26 # Start Web server.
27 /etc/init.d/lighttpd stop
28 /etc/init.d/lighttpd start
29 fi
30 fi
31 fi
32 }