wok-6.x view shaarli/receipt @ rev 22232
updated xorg-libXxf86dga and xorg-libXxf86dga-dev (1.1.4 -> 1.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 08:30:43 2019 +0100 (2019-11-12) |
parents | 02eeeabd9a8c |
children | 5ea0ce1cecc0 |
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 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/var/www/$PACKAGE
23 cp -a $src/* $fs/var/www/$PACKAGE
24 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
25 }
27 post_install()
28 {
29 chown -R www "$1/var/www/$PACKAGE"
30 }