wok-undigest rev 613

Move shaarli to wok
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:20:45 2011 +0100 (2011-12-25)
parents c3c2a0d7b3b3
children fe5d68d3b5b8
files shaarli/receipt
line diff
     1.1 --- a/shaarli/receipt	Sun Dec 25 15:20:44 2011 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,33 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="shaarli"
     1.7 -VERSION="0.0.32beta"
     1.8 -CATEGORY="network"
     1.9 -SHORT_DESC="A minimalist delicious clone."
    1.10 -WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli"
    1.11 -MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -_TARBALL="${PACKAGE}_$VERSION.zip"
    1.13 -_URL="http://sebsauvage.net/files/$_TARBALL"
    1.14 -
    1.15 -DEPENDS="php"
    1.16 -
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	[ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
    1.21 -		wget -O "$SOURCES_REPOSITORY/$_TARBALL" $_URL
    1.22 -	mkdir -p $src 2> /dev/null
    1.23 -}
    1.24 -
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.26 -genpkg_rules()                                      
    1.27 -{
    1.28 -	mkdir -p $fs/var/www/$PACKAGE
    1.29 -	cd $fs/var/www/$PACKAGE
    1.30 -	unzip "$SOURCES_REPOSITORY/$_TARBALL"
    1.31 -}
    1.32 -
    1.33 -post_install()
    1.34 -{
    1.35 -	chown -R www $1/var/www/$PACKAGE
    1.36 -}