wok view shaarli/receipt @ rev 21815
ffmpeg-dev: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 19 10:41:53 2019 +0200 (2019-08-19) |
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 }