wok-next view blogotext/receipt @ rev 15315
tilda: include glib.h only
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 16:51:47 2013 +0000 (2013-09-27) |
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 }