wok view flatpress/receipt @ rev 25371
updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:34:07 2022 +0100 (2022-07-29) |
parents | 640a2eba2511 |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="flatpress"
4 VERSION="1.2.1"
5 CATEGORY="network"
6 SHORT_DESC="Blog engine without SQL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://flatpress.org"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://github.com/flatpressblog/$PACKAGE/archive/$VERSION.zip"
14 DEPENDS="php"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/flatpressblog/flatpress/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $DESTDIR/var/www/$PACKAGE
27 cp -a $src/* $DESTDIR/var/www/$PACKAGE
28 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }