wok annotate kriss_feed/receipt @ rev 17926
Up to latest: slitaz-tools, tazinst-gui, tazinst, tazpanel, tazpkg.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 11 16:51:21 2015 +0300 (2015-04-11) |
parents | 48d3d669a814 |
children | 9e01bc6321ea |
rev | line source |
---|---|
pascal@14361 | 1 # SliTaz package receipt. |
pascal@14361 | 2 |
pascal@14361 | 3 PACKAGE="kriss_feed" |
pascal@14361 | 4 VERSION="7" |
pascal@14361 | 5 CATEGORY="network" |
pascal@14361 | 6 SHORT_DESC="A simple and smart (or stupid) feed reader." |
pascal@14361 | 7 WEB_SITE="https://github.com/tontof/kriss_feed" |
pascal@14361 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15604 | 9 LICENSE="other" |
pascal@16241 | 10 TARBALL="$PACKAGE-$VERSION" |
pascal@14362 | 11 WGET_URL="$WEB_SITE/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php" |
pascal@14361 | 12 |
pascal@14361 | 13 DEPENDS="php" |
pascal@14361 | 14 BUILD_DEPENDS="wget" |
pascal@14361 | 15 |
pascal@14361 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14361 | 17 genpkg_rules() |
pascal@14361 | 18 { |
pascal@14361 | 19 mkdir -p $fs/var/www/$PACKAGE |
pascal@14361 | 20 cd $fs/var/www/$PACKAGE |
pascal@14361 | 21 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php |
pascal@14361 | 22 } |
pascal@14361 | 23 |
pascal@14361 | 24 post_install() |
pascal@14361 | 25 { |
pascal@14361 | 26 chown -R www $1/var/www/$PACKAGE |
pascal@14361 | 27 } |