wok-next diff picoblog/receipt @ rev 11561

Add picoblog form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:17 2011 +0100 (2011-12-25)
parents
children b2a632fc9587
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/picoblog/receipt	Sun Dec 25 15:19:17 2011 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="picoblog"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Tiny blog engine."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +_TARBALL="$PACKAGE-$VERSION.php"
    1.12 +WEB_SITE="http://dev.kd2.org/picoblog/"
    1.13 +URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
    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 $DESTDIR/var/www/$PACKAGE 2> /dev/null
    1.23 +	cp "$SOURCES_REPOSITORY/$_TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
    1.24 +	chown -R 80.80 $DESTDIR/var/www/$PACKAGE
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.28 +genpkg_rules()                                      
    1.29 +{
    1.30 +	cp -a $_pkg/* $fs
    1.31 +}