wok-next view blogotext/receipt @ rev 19476

Up rust (1.12.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 01 03:16:45 2016 +0200 (2016-11-01)
parents a7b54d88ae54
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="blogotext"
4 VERSION="2.0.0.0"
5 CATEGORY="network"
6 SHORT_DESC="Simple blog engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://lehollandaisvolant.net/blogotext"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 URL="$WEB_SITE/archives/$TARBALL"
13 DEPENDS="php-gd"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
20 wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
21 mkdir -p $DESTDIR/var/www 2> /dev/null
22 cd $DESTDIR/var/www
23 unzip "$SOURCES_REPOSITORY/$TARBALL"
24 chown -R 80.80 $DESTDIR/var/www/blogotext
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 find $fs -type f -exec chmod a-x \{\} \;
32 }