wok-current view tazpanel-extra/receipt @ rev 19030

cups: reset tazpanel menus cache in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 05 14:59:00 2016 +0200 (2016-04-05)
parents a70cb5c35d8f
children c3426057458e
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel-extra"
4 VERSION="573"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel extra modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486"
14 DEPENDS="tazpanel"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make && make DESTDIR=$DESTDIR VERSION=$VERSION install_extra
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/* $fs
26 }
28 post_install()
29 {
30 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null || true
31 }