# HG changeset patch # User Pascal Bellard # Date 1321951351 -3600 # Node ID bec5ebfc1e940587546d9b61aa5413f103ea01c9 # Parent 93ca1630371aa4a854d5811ea805b639b21f354a Add blogotext diff -r 93ca1630371a -r bec5ebfc1e94 blogotext/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blogotext/receipt Tue Nov 22 09:42:31 2011 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="blogotext" +VERSION="33" +CATEGORY="network" +SHORT_DESC="Simple blog engine." +MAINTAINER="pascal.bellard@slitaz.org" +_TARBALL="$PACKAGE$VERSION_11-11-07.7z" +WEB_SITE="http://lehollandaisvolant.net/blogotext" +URL="$WEB_SITE/archives/$_TARBALL" + +DEPENDS="php" +BUILD_DEPENDS="p7zip" + +# Rules to configure and make the package. +compile_rules() +{ + [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] || + wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL + mkdir -p $src/_pkg/var/www 2> /dev/null + cd $DESTDIR/var/www + 7zr x "$SOURCES_REPOSITORY/$_TARBALL" + chown -R 80.80 $DESTDIR/var/www/blogotext +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/* $fs +}