wok view mirror-tools/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 c2f8b3bcdaa0
children 153495d7251e
line source
1 # SliTaz package receipt.
3 PACKAGE="mirror-tools"
4 VERSION="2.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Mirrors toolset."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.slitaz.org/"
10 SOURCE="slitaz-dev-tools"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
14 DEPENDS="rrdtool rgzip"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 cp -a $src/$PACKAGE/rootfs/* $fs
20 mkdir -p $fs/var/www
21 cp -a $src/$PACKAGE/slitaz $fs/var/www
22 chown -R 80.80 $fs/var/www
23 }