wok-current view blogotext/receipt @ rev 15944
Make lzma cross compile and fix libxml2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 00:35:49 2014 +0100 (2014-02-23) |
parents | a7b54d88ae54 |
children | 324c13268efe |
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 }