wok view flatpress/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
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 }