wok-next view shaarli/receipt @ rev 21651
updated fftw (3.3.6-pl2 -> 3.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 20:55:50 2020 +0100 (2020-06-26) |
parents | 459b81bc8ce6 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="shaarli"
4 VERSION="0.10.4"
5 CATEGORY="network"
6 SHORT_DESC="A minimalist bookmarking service"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
10 HOST_ARCH="any"
12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
13 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
15 DEPENDS="php"
17 compile_rules() {
18 mkdir -p $install/var/www
19 cp -a $src $install/var/www/shaarli
20 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $install/var/www/shaarli/index.php
22 find $install -exec chmod g-w '{}' \;
24 cook_pick_docs AUTHORS COPYING *.md
25 }
27 post_install() {
28 chown -R 80:80 "$1/var/www/shaarli"
29 }