wok-6.x view flatpress/receipt @ rev 24999
updated nmap (7.80 -> 7.92)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 13:38:34 2022 +0100 (2022-05-16) |
parents | 640a2eba2511 |
children |
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 }