wok view picoblog/receipt @ rev 15855

New kernel config and huge receipt clean up
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 29 09:56:07 2014 +0100 (2014-01-29)
parents b2a632fc9587
children fbe5a1f255fe
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.php"
10 WEB_SITE="http://dev.kd2.org/picoblog/"
11 URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
13 DEPENDS="php"
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/$PACKAGE 2> /dev/null
21 cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
22 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 }