wok-current view blazekiss/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | e3079653b462 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="blazekiss"
4 GITHASH="d5349fb3e1a14bdf4a85273b29dd24653e2f3177"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="office"
7 SHORT_DESC="Tiny Wiki Engine in french."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://projet.idleman.fr/blazekiss/"
12 WGET_URL="https://github.com/krisxoofoo/$PACKAGE/archive/$GITHASH.zip"
13 CONFIG_FILES="/var/www/blazekiss/_config.php"
15 DEPENDS="lighttpd php"
16 BUILD_DEPENDS="wget"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/krisxoofoo/blazekiss/commits/master 2>/dev/null | \
22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 true
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 index=$(find $src -name index.php)
35 src=$(dirname $index)
36 mkdir -p $fs/var/www
37 cp -a $src $fs/var/www/blazekiss
38 rm -f $fs/var/www/blazekiss/historique/*/*.bak
39 chown -R www.www $fs/var/www/blazekiss
40 }