wok annotate shaarli/receipt @ rev 24846

updated liburcu and liburcu-dev (0.11.1 -> 0.13.0)
author Hans-G?nter Theisgen
date Fri Mar 25 14:39:12 2022 +0100 (2022-03-25)
parents 9112c175dd74
children 5d3da6d7eabc
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@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pascal@11566 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11566 26 genpkg_rules()
pascal@11566 27 {
Hans-G?nter@21901 28 mkdir -p $fs/var/www/$PACKAGE
Hans-G?nter@21903 29 cp -a $src/* $fs/var/www/$PACKAGE
pascal@16325 30 sed -i "s|mt_rand())|mt_rand().'$WGET_URL$$')|" $fs/var/www/$PACKAGE/index.php
pascal@11566 31 }
pascal@11566 32
pascal@11566 33 post_install()
pascal@11566 34 {
pascal@18730 35 chown -R www "$1/var/www/$PACKAGE"
pascal@11566 36 }