wok annotate shaarli/receipt @ rev 21708
djmount: added automake to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 07 16:30:45 2019 +0100 (2019-06-07) |
parents | a78610b2eb47 |
children | be004d82b0b1 |
rev | line source |
---|---|
pascal@11566 | 1 # SliTaz package receipt. |
pascal@11566 | 2 |
pascal@11566 | 3 PACKAGE="shaarli" |
pascal@21254 | 4 VERSION="0.10.3" |
pascal@11566 | 5 CATEGORY="network" |
pascal@11566 | 6 SHORT_DESC="A minimalist delicious clone." |
pascal@20669 | 7 WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:shaarli" |
pascal@11566 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 9 LICENSE="zlib/libpng" |
pascal@21254 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21254 | 11 WGET_URL="https://github.com/shaarli/Shaarli/archive/v$VERSION.tar.gz" |
pascal@16264 | 12 HOST_ARCH="any" |
pascal@11566 | 13 |
pascal@11566 | 14 DEPENDS="php" |
pascal@16325 | 15 BUILD_DEPENDS="wget" |
pascal@11566 | 16 |
pascal@11566 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11566 | 18 genpkg_rules() |
pascal@11566 | 19 { |
pascal@14065 | 20 mkdir -p $fs/var/www |
pascal@16325 | 21 cp -a $src $fs/var/www/$PACKAGE |
pascal@16325 | 22 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php |
pascal@11566 | 23 } |
pascal@11566 | 24 |
pascal@11566 | 25 post_install() |
pascal@11566 | 26 { |
pascal@18730 | 27 chown -R www "$1/var/www/$PACKAGE" |
pascal@11566 | 28 } |