wok-6.x view shaarli/receipt @ rev 21878

python-pynacl: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 18:30:00 2019 +0200 (2019-09-28)
parents a78610b2eb47
children be004d82b0b1
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarli"
4 VERSION="0.10.3"
5 CATEGORY="network"
6 SHORT_DESC="A minimalist delicious clone."
7 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="zlib/libpng"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz"
12 HOST_ARCH="any"
14 DEPENDS="php"
15 BUILD_DEPENDS="wget"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/var/www
21 cp -a $src $fs/var/www/$PACKAGE
22 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
23 }
25 post_install()
26 {
27 chown -R www "$1/var/www/$PACKAGE"
28 }