wok-next view shaarli/receipt @ rev 21096
Update SliTaz syslinuxes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 01 13:15:54 2019 +0200 (2019-01-01) |
parents | d5aab818505e |
children | 262dccc5e3ed |
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="http://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 }