wok-current view blazekiss/receipt @ rev 24903

updated mercurial (5.3.1 -> 6.1.1)
author Hans-G?nter Theisgen
date Sat Apr 09 11:10:54 2022 +0100 (2022-04-09)
parents dabffe4f6ce3
children e1e1678c5265
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/ldleman/$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 }