wok annotate blogotext/receipt @ rev 24170

updated otf-gfs
author Hans-G?nter Theisgen
date Wed Dec 29 07:55:54 2021 +0100 (2021-12-29)
parents 72676386ff84
children 343c093ad221
rev   line source
pascal@11546 1 # SliTaz package receipt.
pascal@11546 2
pascal@11546 3 PACKAGE="blogotext"
Hans-G?nter@22549 4 VERSION="3.7.6"
pascal@11546 5 CATEGORY="network"
pascal@11546 6 SHORT_DESC="Simple blog engine."
pascal@11546 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15185 8 LICENSE="MIT"
pascal@20881 9 WEB_SITE="https://github.com/BlogoText/blogotext"
Hans-G?nter@22549 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22551 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@11546 12
pascal@13396 13 DEPENDS="php-gd"
pascal@13396 14 BUILD_DEPENDS=""
pascal@11546 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
al@14789 22 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14789 23 genpkg_rules()
pascal@11546 24 {
pascal@22337 25 mkdir -p $fs/var/www/blogotext
Hans-G?nter@22549 26 cp -a $src/* $fs/var/www/blogotext/
Hans-G?nter@22549 27
al@14789 28 find $fs -type f -exec chmod a-x \{\} \;
pascal@22337 29 chown -R 80.80 $fs/var/www/blogotext
pascal@11546 30 }