wok-current view picoblog/receipt @ rev 20008
Add: description.txt and links revision.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Wed Aug 02 14:08:19 2017 -0300 (2017-08-02) |
parents | fbe5a1f255fe |
children | 6a937d641b10 |
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 HOST_ARCH="any"
13 TAGS="blog"
15 DEPENDS="php"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
21 wget -O "$SOURCES_REPOSITORY/$TARBALL" $URL
22 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
23 cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
24 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }