wok view shaarli/receipt @ rev 21700
updated powermanga (0.80 -> 0.93.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 06 15:09:01 2019 +0100 (2019-06-06) |
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 }