wok view picoblog/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (19 months ago)
parents b7f1bd1b9ac7
children 7f7bd3c9775e
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="https://dev.kd2.org/picoblog/"
11 WGET_URL="https://svn.kd2.org/svn/misc/apps/picoblog/index.php"
12 HOST_ARCH="any"
13 TAGS="blog"
15 DEPENDS="php"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WGET_URL 2> /dev/null | \
21 sed '/const VERSION/!d;s|.*= [^0-9]||;s|[^0-9\.].*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
28 cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
29 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }