wok-6.x view flatpress/receipt @ rev 25414

updated wordpress (5.4.1 -> 6.0.1)
author Hans-G?nter Theisgen
date Thu Aug 04 08:44:13 2022 +0100 (2022-08-04)
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 }