wok-6.x diff blogotext/receipt @ rev 11557

Add matchbox-panel-2 form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:10 2011 +0100 (2011-12-25)
parents
children ce5b18100e7d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/blogotext/receipt	Sun Dec 25 15:19:10 2011 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="blogotext"
     1.7 +VERSION="33"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Simple blog engine."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +_TARBALL="$PACKAGE${VERSION}_11-11-07.7z"
    1.12 +WEB_SITE="http://lehollandaisvolant.net/blogotext"
    1.13 +URL="$WEB_SITE/archives/$_TARBALL"
    1.14 +
    1.15 +DEPENDS="php"
    1.16 +BUILD_DEPENDS="p7zip"
    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 $DESTDIR/var/www 2> /dev/null
    1.24 +	cd $DESTDIR/var/www
    1.25 +	7zr x "$SOURCES_REPOSITORY/$_TARBALL"
    1.26 +	chown -R 80.80 $DESTDIR/var/www/blogotext
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.30 +genpkg_rules()                                      
    1.31 +{
    1.32 +	cp -a $_pkg/* $fs
    1.33 +}