wok-next view kriss_feed/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 372da2303ff1
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="kriss_feed"
4 VERSION="7"
5 CATEGORY="network"
6 SHORT_DESC="A simple and smart (or stupid) feed reader."
7 WEB_SITE="https://github.com/tontof/kriss_feed"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="other"
10 TARBALL="$PACKAGE-$VERSION"
11 WGET_URL="$WEB_SITE/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php"
13 DEPENDS="php"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/var/www/$PACKAGE
20 cd $fs/var/www/$PACKAGE
21 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php
22 }
24 post_install()
25 {
26 chown -R www "$1/var/www/$PACKAGE"
27 }