wok annotate shaarli/receipt @ rev 23401
updated perl-test-pod-coverage (1.08 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:42:48 2020 +0100 (2020-03-31) |
parents | 02eeeabd9a8c |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@11566 | 1 # SliTaz package receipt. |
pascal@11566 | 2 |
pascal@11566 | 3 PACKAGE="shaarli" |
Hans-G?nter@21901 | 4 VERSION="0.11.1" |
pascal@11566 | 5 CATEGORY="network" |
pascal@11566 | 6 SHORT_DESC="A minimalist delicious clone." |
pascal@11566 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 8 LICENSE="zlib/libpng" |
Hans-G?nter@21901 | 9 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli" |
Hans-G?nter@21901 | 10 |
pascal@21254 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21254 | 12 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz" |
pascal@11566 | 13 |
pascal@11566 | 14 DEPENDS="php" |
Hans-G?nter@21903 | 15 BUILD_DEPENDS="" |
Hans-G?nter@21901 | 16 |
Hans-G?nter@21901 | 17 HOST_ARCH="any" |
pascal@11566 | 18 |
pascal@11566 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11566 | 20 genpkg_rules() |
pascal@11566 | 21 { |
Hans-G?nter@21901 | 22 mkdir -p $fs/var/www/$PACKAGE |
Hans-G?nter@21903 | 23 cp -a $src/* $fs/var/www/$PACKAGE |
pascal@16325 | 24 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php |
pascal@11566 | 25 } |
pascal@11566 | 26 |
pascal@11566 | 27 post_install() |
pascal@11566 | 28 { |
pascal@18730 | 29 chown -R www "$1/var/www/$PACKAGE" |
pascal@11566 | 30 } |