wok-6.x view flatpress/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | fcdd50638150 |
children | 786c482627b3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flatpress"
4 VERSION="0.1010.2"
5 CATEGORY="network"
6 SHORT_DESC="Blog engine without SQL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-sotto-voce.tar.bz2"
10 WEB_SITE="http://flatpress.org/home/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="php"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/flatpressblog/flatpress/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $DESTDIR/var/www/$PACKAGE
26 cp -a $src/* $DESTDIR/var/www/$PACKAGE
27 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }