wok view shaarli/receipt @ rev 24646
updated hostapd (2.9 -> 2.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 11:11:28 2022 +0100 (2022-03-10) |
parents | 9112c175dd74 |
children | 5d3da6d7eabc |
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarli"
4 VERSION="0.11.1"
5 CATEGORY="network"
6 SHORT_DESC="A minimalist delicious clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
14 DEPENDS="php"
15 BUILD_DEPENDS=""
17 HOST_ARCH="any"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/var/www/$PACKAGE
29 cp -a $src/* $fs/var/www/$PACKAGE
30 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
31 }
33 post_install()
34 {
35 chown -R www "$1/var/www/$PACKAGE"
36 }