# HG changeset patch # User Pascal Bellard # Date 1324822730 -3600 # Node ID e363de4558d1064a3d19e8435f604adf1cc8d3ec # Parent d52e76bdb48f7368f9850afe9681a3396695c555 Add blogotext form wok-undigest diff -r d52e76bdb48f -r e363de4558d1 blogotext/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blogotext/receipt Sun Dec 25 15:18:50 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 $DESTDIR/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 +}