wok-next view shaarli/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c4e53a39395a |
children | e19ff076dc63 |
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 genpkg_rules() {
16 mkdir -p $fs/var/www
17 cp -a $src $fs/var/www/$PACKAGE
18 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
19 }
21 post_install() {
22 chown -R www "$1/var/www/$PACKAGE"
23 DEPENDS="php"
24 }