wok annotate blogotext/receipt @ rev 14337

Add EXTRA_SOURCE_FILES variable to track sources files for the mirrors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 13 19:32:46 2013 +0200 (2013-04-13)
parents ce5b18100e7d
children a7b54d88ae54
rev   line source
pascal@11546 1 # SliTaz package receipt.
pascal@11546 2
pascal@11546 3 PACKAGE="blogotext"
pascal@13396 4 VERSION="2.0.0.0"
pascal@11546 5 CATEGORY="network"
pascal@11546 6 SHORT_DESC="Simple blog engine."
pascal@11546 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14337 8 TARBALL="$PACKAGE-$VERSION.zip"
pascal@11546 9 WEB_SITE="http://lehollandaisvolant.net/blogotext"
pascal@14337 10 URL="$WEB_SITE/archives/$TARBALL"
pascal@11546 11
pascal@13396 12 DEPENDS="php-gd"
pascal@13396 13 BUILD_DEPENDS=""
pascal@11546 14
pascal@11546 15 # Rules to configure and make the package.
pascal@11546 16 compile_rules()
pascal@11546 17 {
pascal@14337 18 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
pascal@14337 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@14337 22 unzip "$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@13396 29 cp -a $install/* $fs
pascal@11546 30 }