wok-next view blogotext/receipt @ rev 15668
Up alien 8.89
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 17 21:37:55 2013 +0100 (2013-12-17) |
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 }