wok annotate blogotext/receipt @ rev 17310

buildroot: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 02 12:25:01 2014 +0100 (2014-11-02)
parents a7b54d88ae54
children 324c13268efe
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@15185 8 LICENSE="MIT"
al@14789 9 WEB_SITE="http://lehollandaisvolant.net/blogotext"
pascal@14337 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@14337 11 URL="$WEB_SITE/archives/$TARBALL"
pascal@11546 12
pascal@13396 13 DEPENDS="php-gd"
pascal@13396 14 BUILD_DEPENDS=""
pascal@11546 15
pascal@11546 16 # Rules to configure and make the package.
pascal@11546 17 compile_rules()
pascal@11546 18 {
pascal@14337 19 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
pascal@14337 20 wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
pascal@11546 21 mkdir -p $DESTDIR/var/www 2> /dev/null
pascal@11546 22 cd $DESTDIR/var/www
pascal@14337 23 unzip "$SOURCES_REPOSITORY/$TARBALL"
pascal@11546 24 chown -R 80.80 $DESTDIR/var/www/blogotext
pascal@11546 25 }
pascal@11546 26
al@14789 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14789 28 genpkg_rules()
pascal@11546 29 {
pascal@13396 30 cp -a $install/* $fs
al@14789 31 find $fs -type f -exec chmod a-x \{\} \;
pascal@11546 32 }