wok-next view shaarli/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | e19ff076dc63 |
children | dbc201d673f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="shaarli"
4 GITHASH="48b68c8"
5 VERSION="$GITHASH"
6 CATEGORY="network"
7 SHORT_DESC="A minimalist delicious clone"
8 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="zlib/libpng"
12 TARBALL="${PACKAGE}_$VERSION.zip"
13 WGET_URL="https://github.com/sebsauvage/Shaarli/archive/$GITHASH.zip"
15 COOKOPTS="force-arch" # different index.php
17 genpkg_rules() {
18 mkdir -p $fs/var/www
19 cp -a $src $fs/var/www/$PACKAGE
20 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
21 }
23 post_install() {
24 chown -R www "$1/var/www/$PACKAGE"
25 DEPENDS="php"
26 }