wok-6.x view blogotext/receipt @ rev 11965
tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 15:32:28 2012 +0100 (2012-03-02) |
parents | |
children | ce5b18100e7d |
line source
1 # SliTaz package receipt.
3 PACKAGE="blogotext"
4 VERSION="33"
5 CATEGORY="network"
6 SHORT_DESC="Simple blog engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 _TARBALL="$PACKAGE${VERSION}_11-11-07.7z"
9 WEB_SITE="http://lehollandaisvolant.net/blogotext"
10 URL="$WEB_SITE/archives/$_TARBALL"
12 DEPENDS="php"
13 BUILD_DEPENDS="p7zip"
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 7zr x "$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 $_pkg/* $fs
30 }