wok annotate tazpanel-extra/receipt @ rev 18730
Quote root dir in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 20 15:13:45 2015 +0100 (2015-12-20) |
parents | f3d35bfb9ab5 |
children | d94dea3c101e |
rev | line source |
---|---|
pascal@18245 | 1 # SliTaz package receipt. |
pascal@18245 | 2 |
pascal@18245 | 3 PACKAGE="tazpanel-extra" |
al@18690 | 4 VERSION="558" |
pascal@18245 | 5 CATEGORY="system-tools" |
pascal@18245 | 6 SHORT_DESC="SliTaz administration and configuration panel extra modules." |
pascal@18245 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18245 | 8 LICENSE="BSD" |
pascal@18251 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18245 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@18251 | 11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz" |
pascal@18245 | 12 HOST_ARCH="i486" |
pascal@18245 | 13 |
pascal@18245 | 14 DEPENDS="tazpanel" |
pascal@18245 | 15 |
pascal@18250 | 16 # Rules to configure and make the package. |
pascal@18250 | 17 compile_rules() |
pascal@18250 | 18 { |
pascal@18568 | 19 make && make DESTDIR=$DESTDIR VERSION=$VERSION install_extra |
pascal@18250 | 20 } |
pascal@18250 | 21 |
pascal@18245 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18245 | 23 genpkg_rules() |
pascal@18245 | 24 { |
pascal@18250 | 25 cp -a $install/* $fs |
pascal@18245 | 26 } |
pascal@18569 | 27 |
pascal@18569 | 28 post_install() |
pascal@18569 | 29 { |
pascal@18730 | 30 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null || true |
pascal@18569 | 31 } |