wok-current annotate shaarli/receipt @ rev 20669
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 12:26:11 2019 +0100 (2019-01-21) |
parents | 9e01bc6321ea |
children | 2b60d14eea8d |
rev | line source |
---|---|
pascal@11566 | 1 # SliTaz package receipt. |
pascal@11566 | 2 |
pascal@11566 | 3 PACKAGE="shaarli" |
pascal@16325 | 4 GITHASH="48b68c8fa5aa9ca98f3a9aaf9277656fe0cafb01" |
pascal@16325 | 5 VERSION=${GITHASH:0:7} |
pascal@11566 | 6 CATEGORY="network" |
pascal@11566 | 7 SHORT_DESC="A minimalist delicious clone." |
pascal@20669 | 8 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli" |
pascal@11566 | 9 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 10 LICENSE="zlib/libpng" |
pascal@14337 | 11 TARBALL="${PACKAGE}_$VERSION.zip" |
pascal@16325 | 12 WGET_URL="https://github.com/sebsauvage/Shaarli/archive/$GITHASH.zip" |
pascal@16264 | 13 HOST_ARCH="any" |
pascal@11566 | 14 |
pascal@11566 | 15 DEPENDS="php" |
pascal@16325 | 16 BUILD_DEPENDS="wget" |
pascal@11566 | 17 |
pascal@11566 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11566 | 19 genpkg_rules() |
pascal@11566 | 20 { |
pascal@14065 | 21 mkdir -p $fs/var/www |
pascal@16325 | 22 cp -a $src $fs/var/www/$PACKAGE |
pascal@16325 | 23 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php |
pascal@11566 | 24 } |
pascal@11566 | 25 |
pascal@11566 | 26 post_install() |
pascal@11566 | 27 { |
pascal@18730 | 28 chown -R www "$1/var/www/$PACKAGE" |
pascal@11566 | 29 } |