wok annotate kriss_feed/receipt @ rev 15237
memtest-serial: fix receipt name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 23 10:36:37 2013 +0000 (2013-09-23) |
parents | 2567502dd183 |
children | 48d3d669a814 |
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@14361 | 9 TARBALL="$PACKAGE-$VERSION.php" |
pascal@14362 | 10 WGET_URL="$WEB_SITE/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php" |
pascal@14361 | 11 |
pascal@14361 | 12 DEPENDS="php" |
pascal@14361 | 13 BUILD_DEPENDS="wget" |
pascal@14361 | 14 |
pascal@14361 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14361 | 16 genpkg_rules() |
pascal@14361 | 17 { |
pascal@14361 | 18 mkdir -p $fs/var/www/$PACKAGE |
pascal@14361 | 19 cd $fs/var/www/$PACKAGE |
pascal@14361 | 20 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php |
pascal@14361 | 21 } |
pascal@14361 | 22 |
pascal@14361 | 23 post_install() |
pascal@14361 | 24 { |
pascal@14361 | 25 chown -R www $1/var/www/$PACKAGE |
pascal@14361 | 26 } |