wok view blogotext/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 72676386ff84 |
children | 343c093ad221 |
line source
1 # SliTaz package receipt.
3 PACKAGE="blogotext"
4 VERSION="3.7.6"
5 CATEGORY="network"
6 SHORT_DESC="Simple blog engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/BlogoText/blogotext"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="php-gd"
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/var/www/blogotext
26 cp -a $src/* $fs/var/www/blogotext/
28 find $fs -type f -exec chmod a-x \{\} \;
29 chown -R 80.80 $fs/var/www/blogotext
30 }