wok-undigest rev 985

Add kriss_feed
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 19 13:43:03 2013 +0200 (2013-04-19)
parents 72c93e37004b
children 777def715017
files kriss_feed/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kriss_feed/receipt	Fri Apr 19 13:43:03 2013 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="kriss_feed"
     1.7 +VERSION="7"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A simple and smart (or stupid) feed reader."
    1.10 +WEB_SITE="https://github.com/tontof/kriss_feed"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.php"
    1.13 +_URL="https://github.com/tontof/kriss_feed/raw/c13cfb50ad593884ee6a5b21d9eb80750b71d693/index.php"
    1.14 +
    1.15 +DEPENDS="php"
    1.16 +BUILD_DEPENDS="wget"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    1.22 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $_URL
    1.23 +	mkdir -p $src 2> /dev/null
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.27 +genpkg_rules()                                      
    1.28 +{
    1.29 +	mkdir -p $fs/var/www/$PACKAGE
    1.30 +	cd $fs/var/www/$PACKAGE
    1.31 +	cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php
    1.32 +}
    1.33 +
    1.34 +post_install()
    1.35 +{
    1.36 +	chown -R www $1/var/www/$PACKAGE
    1.37 +}