wok annotate blogotext/receipt @ rev 11589

hydrogen: install hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 09 16:38:12 2012 +0100 (2012-01-09)
parents
children ce5b18100e7d
rev   line source
pascal@11546 1 # SliTaz package receipt.
pascal@11546 2
pascal@11546 3 PACKAGE="blogotext"
pascal@11546 4 VERSION="33"
pascal@11546 5 CATEGORY="network"
pascal@11546 6 SHORT_DESC="Simple blog engine."
pascal@11546 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@11546 8 _TARBALL="$PACKAGE${VERSION}_11-11-07.7z"
pascal@11546 9 WEB_SITE="http://lehollandaisvolant.net/blogotext"
pascal@11546 10 URL="$WEB_SITE/archives/$_TARBALL"
pascal@11546 11
pascal@11546 12 DEPENDS="php"
pascal@11546 13 BUILD_DEPENDS="p7zip"
pascal@11546 14
pascal@11546 15 # Rules to configure and make the package.
pascal@11546 16 compile_rules()
pascal@11546 17 {
pascal@11546 18 [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
pascal@11546 19 wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
pascal@11546 20 mkdir -p $DESTDIR/var/www 2> /dev/null
pascal@11546 21 cd $DESTDIR/var/www
pascal@11546 22 7zr x "$SOURCES_REPOSITORY/$_TARBALL"
pascal@11546 23 chown -R 80.80 $DESTDIR/var/www/blogotext
pascal@11546 24 }
pascal@11546 25
pascal@11546 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11546 27 genpkg_rules()
pascal@11546 28 {
pascal@11546 29 cp -a $_pkg/* $fs
pascal@11546 30 }