wok view picoblog/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 65ff25c4de90 |
children |
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://web.archive.org/web/20200128165016/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 }