wok view blogotext/receipt @ rev 14789

Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 08 11:45:27 2013 +0300 (2013-07-08)
parents b2a632fc9587
children 7c9b40764925
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 WEB_SITE="http://lehollandaisvolant.net/blogotext"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 URL="$WEB_SITE/archives/$TARBALL"
12 DEPENDS="php-gd"
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
19 wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
20 mkdir -p $DESTDIR/var/www 2> /dev/null
21 cd $DESTDIR/var/www
22 unzip "$SOURCES_REPOSITORY/$TARBALL"
23 chown -R 80.80 $DESTDIR/var/www/blogotext
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 find $fs -type f -exec chmod a-x \{\} \;
31 }