wok-next view picoblog/receipt @ rev 21016
Small updates; mdocml -> mandoc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 15 16:44:45 2018 +0300 (2018-10-15) |
parents | c4e53a39395a |
children | d5aab818505e |
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"
10 WEB_SITE="http://dev.kd2.org/picoblog/"
11 URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
12 TAGS="blog"
14 DEPENDS="php"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 [ -s "$SRC/$TARBALL" ] ||
20 wget -O "$SRC/$TARBALL" $URL
21 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
22 cp "$SRC/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
23 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }