wok diff shaarli/receipt @ rev 11567

Add tor-arm form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:28 2011 +0100 (2011-12-25)
parents
children ef17f97ea8bf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/shaarli/receipt	Sun Dec 25 15:19:28 2011 +0100
     1.3 @@ -0,0 +1,33 @@
     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 +}