wok-6.x view shaarli/receipt @ rev 21254
Up hg-git (0.8.12), shaarli (0.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 12 11:04:49 2019 +0200 (2019-04-12) |
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 }