wok annotate kriss_feed/receipt @ rev 21519
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 03 16:47:04 2019 +0200 (2019-05-03) |
parents | 9e01bc6321ea |
children | d8c511e24c20 |
rev | line source |
---|---|
pascal@14361 | 1 # SliTaz package receipt. |
pascal@14361 | 2 |
pascal@14361 | 3 PACKAGE="kriss_feed" |
pascal@19980 | 4 VERSION="8.7" |
pascal@19980 | 5 GITHASH="31c857d66c3cf8e8efd281201a1a97d3d87ee1b8" |
pascal@14361 | 6 CATEGORY="network" |
pascal@14361 | 7 SHORT_DESC="A simple and smart (or stupid) feed reader." |
pascal@14361 | 8 WEB_SITE="https://github.com/tontof/kriss_feed" |
pascal@14361 | 9 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15604 | 10 LICENSE="other" |
pascal@16241 | 11 TARBALL="$PACKAGE-$VERSION" |
pascal@19980 | 12 WGET_URL="$WEB_SITE/raw/$GITHASH/index.php" |
pascal@14361 | 13 |
pascal@14361 | 14 DEPENDS="php" |
pascal@14361 | 15 BUILD_DEPENDS="wget" |
pascal@14361 | 16 |
pascal@14361 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14361 | 18 genpkg_rules() |
pascal@14361 | 19 { |
pascal@14361 | 20 mkdir -p $fs/var/www/$PACKAGE |
pascal@14361 | 21 cd $fs/var/www/$PACKAGE |
pascal@14361 | 22 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php |
pascal@14361 | 23 } |
pascal@14361 | 24 |
pascal@14361 | 25 post_install() |
pascal@14361 | 26 { |
pascal@18730 | 27 chown -R www "$1/var/www/$PACKAGE" |
pascal@14361 | 28 } |