wok-next diff shaarli/receipt @ rev 21084
Add librefox
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 14:44:32 2018 +0200 (2018-12-25) |
parents | c4e53a39395a |
children | e19ff076dc63 |
line diff
1.1 --- a/shaarli/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/shaarli/receipt Tue Dec 25 14:44:32 2018 +0200 1.3 @@ -1,28 +1,24 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="shaarli" 1.7 -GITHASH="48b68c8fa5aa9ca98f3a9aaf9277656fe0cafb01" 1.8 -VERSION=${GITHASH:0:7} 1.9 +GITHASH="48b68c8" 1.10 +VERSION="$GITHASH" 1.11 CATEGORY="network" 1.12 -SHORT_DESC="A minimalist delicious clone." 1.13 +SHORT_DESC="A minimalist delicious clone" 1.14 WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:shaarli" 1.15 MAINTAINER="pascal.bellard@slitaz.org" 1.16 LICENSE="zlib/libpng" 1.17 + 1.18 TARBALL="${PACKAGE}_$VERSION.zip" 1.19 WGET_URL="https://github.com/sebsauvage/Shaarli/archive/$GITHASH.zip" 1.20 1.21 -DEPENDS="php" 1.22 -BUILD_DEPENDS="wget" 1.23 - 1.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 -genpkg_rules() 1.26 -{ 1.27 +genpkg_rules() { 1.28 mkdir -p $fs/var/www 1.29 cp -a $src $fs/var/www/$PACKAGE 1.30 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php 1.31 } 1.32 1.33 -post_install() 1.34 -{ 1.35 +post_install() { 1.36 chown -R www "$1/var/www/$PACKAGE" 1.37 + DEPENDS="php" 1.38 }