wok-6.x view picoblog/receipt @ rev 11575

Up: novnc 201111004 (from godane's wok)

# Rules to gen a SliTaz package suitable for Tazpkg.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:19 2012 +0100 (2012-01-02)
parents
children b2a632fc9587
line source
1 # SliTaz package receipt.
3 PACKAGE="picoblog"
4 VERSION="1.0"
5 CATEGORY="network"
6 SHORT_DESC="Tiny blog engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 _TARBALL="$PACKAGE-$VERSION.php"
9 WEB_SITE="http://dev.kd2.org/picoblog/"
10 URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
12 DEPENDS="php"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -s "$SOURCES_REPOSITORY/$_TARBALL" ] ||
18 wget -O "$SOURCES_REPOSITORY/$_TARBALL" $URL
19 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
20 cp "$SOURCES_REPOSITORY/$_TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
21 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/* $fs
28 }