wok-current view kriss_feed/receipt @ rev 18475
Up tazpkg-test(845): fix installing to "non directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 06 15:50:16 2015 +0300 (2015-10-06) |
parents | 48d3d669a814 |
children | 9e01bc6321ea |
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 }