wok-next view kriss_feed/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
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 }