wok-6.x view blogotext/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | 72676386ff84 |
children |
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 }